Index: Source/core/rendering/style/RenderStyle.cpp |
diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp |
index 733681ea37b182a68a9883edd378e1e0e18dbc67..156e408eed51eb1f14f0542d1f5927035837e17c 100644 |
--- a/Source/core/rendering/style/RenderStyle.cpp |
+++ b/Source/core/rendering/style/RenderStyle.cpp |
@@ -622,7 +622,7 @@ bool RenderStyle::diffNeedsFullLayout(const RenderStyle& other) const |
bool RenderStyle::diffNeedsRepaintLayer(const RenderStyle& other) const |
{ |
- if (position() != StaticPosition && (visual->clip != other.visual->clip || visual->hasClip != other.visual->hasClip)) |
+ if (position() != StaticPosition && (visual->clip != other.visual->clip || visual->hasAutoClip != other.visual->hasAutoClip)) |
return true; |
if (rareNonInheritedData.get() != other.rareNonInheritedData.get()) { |
@@ -705,15 +705,6 @@ void RenderStyle::updatePropertySpecificDifferences(const RenderStyle& other, St |
} |
} |
-void RenderStyle::setClip(const Length& top, const Length& right, const Length& bottom, const Length& left) |
-{ |
- StyleVisualData* data = visual.access(); |
- data->clip.m_top = top; |
- data->clip.m_right = right; |
- data->clip.m_bottom = bottom; |
- data->clip.m_left = left; |
-} |
- |
void RenderStyle::addCursor(PassRefPtr<StyleImage> image, const IntPoint& hotSpot) |
{ |
if (!rareInheritedData.access()->cursorData) |