Index: third_party/WebKit/Source/core/layout/LayoutPart.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutPart.cpp b/third_party/WebKit/Source/core/layout/LayoutPart.cpp |
index af1e8533ec8904570e656b7a97ccbde606ee379d..2086455883384e2767cdd96ed8860200ca45e2a3 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutPart.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutPart.cpp |
@@ -309,9 +309,8 @@ |
// If frame bounds are changing mark the view for layout. Also check the |
// frame's page to make sure that the frame isn't in the process of being |
- // destroyed. If iframe scrollbars needs reconstruction from native to custom |
- // scrollbar, then also we need to layout the frameview. |
- if (frameView && frameView->frame().page() && (boundsWillChange || frameView->needsScrollbarReconstruction())) |
+ // destroyed. |
+ if (frameView && boundsWillChange && frameView->frame().page()) |
frameView->setNeedsLayout(); |
updateWidgetGeometryInternal(); |