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

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

Issue 2728253002: Remove indirection: setup scrollbar scroll layers in the scrollbar constructor (Closed)
Patch Set: Ensure detachScrollbarLayer is called in scrollableAreaScrollbarLayerDidChange Created 3 years, 10 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 8a38208b82174a374b576187f2450ca2c8b40ac8..189860421bc8668287f56abf6460327905ddff00 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