Index: Source/core/rendering/style/RenderStyle.cpp |
diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp |
index 13276d2570dae70b2c50e5f8444183c34c3aad34..d94acc29976adf9ad797af60790b5a3b77d1cd66 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::diffNeedsPaintInvalidationLayer(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) |