Chromium Code Reviews| 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 5beaba0026a59918b137bad08e3d1bce8224b2a5..fad2609f14eee7929194500c3f334ce685bc15d5 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutView.cpp |
| +++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp |
| @@ -229,9 +229,9 @@ void LayoutView::layout() { |
| IncludeScrollbarsInRect includeScrollbars = |
| RuntimeEnabledFeatures::rootLayerScrollingEnabled() ? IncludeScrollbars |
| : ExcludeScrollbars; |
| - FloatSize viewSize(frameView()->visibleContentSize(includeScrollbars)); |
| setShouldDoFullPaintInvalidationOnResizeIfNeeded( |
| - offsetWidth() != viewSize.width(), offsetHeight() != viewSize.height()); |
| + offsetWidth() != layoutSize(includeScrollbars).width(), |
|
bokan
2016/12/22 00:45:49
In https://codereview.chromium.org/2461463004, I m
|
| + offsetHeight() != layoutSize(includeScrollbars).height()); |
| if (pageLogicalHeight() && shouldUsePrintingLayout()) { |
| m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = logicalWidth(); |