| Index: third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| index 04fd60e700f29ea69fdc099b00fa0ec8a955305e..28b02a5556322afab423f1b7829a86080191756e 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| @@ -821,6 +821,13 @@ LayoutRect LayoutView::DebugRect() const {
|
| return rect;
|
| }
|
|
|
| +bool LayoutView::UpdateLogicalWidthAndColumnWidth() {
|
| + bool relayout_children = LayoutBlockFlow::UpdateLogicalWidthAndColumnWidth();
|
| + // When we're printing, the size of LayoutView is changed outside of layout,
|
| + // so we'll fail to detect any changes here. Just return true.
|
| + return relayout_children || ShouldUsePrintingLayout();
|
| +}
|
| +
|
| bool LayoutView::PaintedOutputOfObjectHasNoEffectRegardlessOfSize() const {
|
| // Frame scroll corner is painted using LayoutView as the display item client.
|
| if (!RuntimeEnabledFeatures::rootLayerScrollingEnabled() &&
|
|
|