Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutPart.cpp

Issue 2338413005: Revert of IFrame Scrollbar needs reconstruction. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/scrollbars/resources/reconstruction-iframe-src.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « third_party/WebKit/LayoutTests/scrollbars/resources/reconstruction-iframe-src.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698