| Index: Source/core/rendering/style/RenderStyle.cpp
|
| diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp
|
| index fba07f9a323b5f647b7a6c60e794143a816e703c..672c8dcf814ea05e0c907ee30c06f5b7cce64d7a 100644
|
| --- a/Source/core/rendering/style/RenderStyle.cpp
|
| +++ b/Source/core/rendering/style/RenderStyle.cpp
|
| @@ -707,15 +707,6 @@ StyleDifference RenderStyle::diff(const RenderStyle* other, unsigned& changedCon
|
| return StyleDifferenceEqual;
|
| }
|
|
|
| -void RenderStyle::setClip(Length top, Length right, Length bottom, 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)
|
| @@ -1608,6 +1599,7 @@ void RenderStyle::setBorderImageSlices(LengthBox slices)
|
| if (surround->border.m_image.imageSlices() == slices)
|
| return;
|
| surround.access()->border.m_image.setImageSlices(slices);
|
| + updateMayHaveViewportPercentage(slices);
|
| }
|
|
|
| void RenderStyle::setBorderImageWidth(LengthBox slices)
|
| @@ -1615,6 +1607,7 @@ void RenderStyle::setBorderImageWidth(LengthBox slices)
|
| if (surround->border.m_image.borderSlices() == slices)
|
| return;
|
| surround.access()->border.m_image.setBorderSlices(slices);
|
| + updateMayHaveViewportPercentage(slices);
|
| }
|
|
|
| void RenderStyle::setBorderImageOutset(LengthBox outset)
|
| @@ -1622,6 +1615,7 @@ void RenderStyle::setBorderImageOutset(LengthBox outset)
|
| if (surround->border.m_image.outset() == outset)
|
| return;
|
| surround.access()->border.m_image.setOutset(outset);
|
| + updateMayHaveViewportPercentage(outset);
|
| }
|
|
|
| ShapeValue* RenderStyle::initialShapeInside()
|
|
|