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

Unified Diff: third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp

Issue 2289833002: Disable clipping on root scroller's ancestors. (Closed)
Patch Set: Created 4 years, 4 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
Index: third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp
diff --git a/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp b/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp
index b23bf7cfd2002b6d4170398fc7fb00fdb6675afa..ff09de5b56c79b5a263f812a1455aa12a7647854 100644
--- a/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp
+++ b/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp
@@ -94,10 +94,10 @@ void TopDocumentRootScrollerController::updateGlobalRootScroller()
void TopDocumentRootScrollerController::didUpdateCompositing()
{
- FrameHost* frameHost = m_document->frameHost();
+ RootScrollerController::didUpdateCompositing();
// Let the compositor-side counterpart know about this change.
- if (frameHost)
+ if (FrameHost* frameHost = m_document->frameHost())
frameHost->chromeClient().registerViewportLayers();
}

Powered by Google App Engine
This is Rietveld 408576698