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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 2728253002: Remove indirection: setup scrollbar scroll layers in the scrollbar constructor (Closed)
Patch Set: Really fix reivewer comment Created 3 years, 9 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/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 367265b73ddcc5698db54cb1171979c80fd23e13..d50862b8e395b30a3eaa2a3ca9bd325daab42681 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -3824,12 +3824,6 @@ void WebViewImpl::registerViewportLayersWithCompositor() {
: nullptr;
VisualViewport& visualViewport = page()->frameHost().visualViewport();
-
- // TODO(bokan): This was moved here from when registerViewportLayers was a
- // part of VisualViewport and maybe doesn't belong here. See comment inside
- // the mehtod.
- visualViewport.setScrollLayerOnScrollbars(layoutViewportWebLayer);
-
m_layerTreeView->registerViewportLayers(
visualViewport.overscrollElasticityLayer()->platformLayer(),
visualViewport.pageScaleLayer()->platformLayer(),

Powered by Google App Engine
This is Rietveld 408576698