Index: Source/core/rendering/style/RenderStyle.cpp |
diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp |
index 498ed861ae6a8d1b1a85aecc4f9769091c2bb506..ba1ca725ff1907123205c444cb5f023d5a74d330 100644 |
--- a/Source/core/rendering/style/RenderStyle.cpp |
+++ b/Source/core/rendering/style/RenderStyle.cpp |
@@ -1587,18 +1587,18 @@ void RenderStyle::setBorderImageSlices(LengthBox slices) |
surround.access()->border.m_image.setImageSlices(slices); |
} |
-void RenderStyle::setBorderImageWidth(LengthBox slices) |
+void RenderStyle::setBorderImageWidth(const BorderImageLengthBox& slices) |
{ |
- if (surround->border.m_image.borderSlices().deprecatedLengthBox() == slices) |
+ if (surround->border.m_image.borderSlices() == slices) |
return; |
- surround.access()->border.m_image.setBorderSlices(BorderImageLengthBox(slices)); |
+ surround.access()->border.m_image.setBorderSlices(slices); |
} |
-void RenderStyle::setBorderImageOutset(LengthBox outset) |
+void RenderStyle::setBorderImageOutset(const BorderImageLengthBox& outset) |
{ |
- if (surround->border.m_image.outset().deprecatedLengthBox() == outset) |
+ if (surround->border.m_image.outset() == outset) |
return; |
- surround.access()->border.m_image.setOutset(BorderImageLengthBox(outset)); |
+ surround.access()->border.m_image.setOutset(outset); |
} |
ShapeValue* RenderStyle::initialShapeInside() |