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(), |