| Index: Source/core/rendering/RenderBox.cpp
|
| diff --git a/Source/core/rendering/RenderBox.cpp b/Source/core/rendering/RenderBox.cpp
|
| index d3b5e1fbda84ec716b46b55258130dfe6e50614f..c1348543a81a8d95180a9aca70acf582bce98eb7 100644
|
| --- a/Source/core/rendering/RenderBox.cpp
|
| +++ b/Source/core/rendering/RenderBox.cpp
|
| @@ -1475,6 +1475,18 @@ void RenderBox::paintMaskImages(const PaintInfo& paintInfo, const LayoutRect& pa
|
| paintInfo.context->endLayer();
|
| }
|
|
|
| +bool RenderBox::tryLayoutDoingResizeOnly()
|
| +{
|
| + LayoutRectRecorder recorder(*this);
|
| + LayoutUnit oldLogicalWidth = logicalWidth();
|
| + updateLogicalWidth();
|
| + // If logical width changed, we still need full layout.
|
| + if (oldLogicalWidth != logicalWidth())
|
| + return false;
|
| + updateLogicalHeight();
|
| + return true;
|
| +}
|
| +
|
| LayoutRect RenderBox::maskClipRect()
|
| {
|
| const NinePieceImage& maskBoxImage = style()->maskBoxImage();
|
|
|