This source file includes following definitions.
- m_color
- m_outline
- visuallyEqual
#include "config.h"
#include "core/rendering/style/StyleBackgroundData.h"
#include "core/rendering/style/RenderStyle.h"
#include "core/rendering/style/RenderStyleConstants.h"
namespace WebCore {
StyleBackgroundData::StyleBackgroundData()
: m_background(BackgroundFillLayer, true)
, m_color(RenderStyle::initialBackgroundColor())
{
}
StyleBackgroundData::StyleBackgroundData(const StyleBackgroundData& o)
: RefCounted<StyleBackgroundData>()
, m_background(o.m_background)
, m_color(o.m_color)
, m_outline(o.m_outline)
{
}
bool StyleBackgroundData::operator==(const StyleBackgroundData& o) const
{
return m_background == o.m_background && m_color == o.m_color && m_outline == o.m_outline;
}
bool StyleBackgroundData::visuallyEqual(const StyleBackgroundData& o) const
{
return m_background == o.m_background && m_color == o.m_color && m_outline.visuallyEqual(o.m_outline);
}
}