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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2129033002: Update scrollbars from FrameView::show. Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Set needsLayout() in FrameView::show() Created 4 years, 5 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/fast/frames/iframe-hide-show-scrollbars-expected.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/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index 2d84b43ae9109b0c87637d76bc20790eb18184be..5047e9823d19f5d0e5c65dc1aa84f8e9e0bcebdc 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -4012,6 +4012,7 @@ void FrameView::setParentVisible(bool visible)
void FrameView::show()
{
+ setNeedsLayout();
if (!isSelfVisible()) {
setSelfVisible(true);
setNeedsCompositingUpdate(layoutViewItem(), CompositingUpdateRebuildTree);
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/frames/iframe-hide-show-scrollbars-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698