| Index: sky/engine/core/rendering/style/RenderStyle.h
|
| diff --git a/sky/engine/core/rendering/style/RenderStyle.h b/sky/engine/core/rendering/style/RenderStyle.h
|
| index 9cb4c58d8f9bf015c8f811ff6c043d82740f75da..44e29ac6551b057bb8090008910e165ba72d8c9e 100644
|
| --- a/sky/engine/core/rendering/style/RenderStyle.h
|
| +++ b/sky/engine/core/rendering/style/RenderStyle.h
|
| @@ -914,18 +914,6 @@ public:
|
| void setOutlineStyleIsAuto(OutlineIsAuto isAuto) { SET_VAR(m_background, m_outline.m_isAuto, isAuto); }
|
| void setOutlineStyle(EBorderStyle v) { SET_VAR(m_background, m_outline.m_style, v); }
|
| void setOutlineColor(const StyleColor& v) { SET_BORDERVALUE_COLOR(m_background, m_outline, v); }
|
| - bool isOutlineEquivalent(const RenderStyle* otherStyle) const
|
| - {
|
| - // No other style, so we don't have an outline then we consider them to be the same.
|
| - if (!otherStyle)
|
| - return !hasOutline();
|
| - return m_background->outline().visuallyEqual(otherStyle->m_background->outline());
|
| - }
|
| - void setOutlineFromStyle(const RenderStyle& o)
|
| - {
|
| - ASSERT(!isOutlineEquivalent(&o));
|
| - m_background.access()->m_outline = o.m_background->m_outline;
|
| - }
|
|
|
| void setOverflowX(EOverflow v) { noninherited_flags.overflowX = v; }
|
| void setOverflowY(EOverflow v) { noninherited_flags.overflowY = v; }
|
|
|