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

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

Issue 2128363002: Moved viewport layer registration into WebViewImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rootScrollerPinchedIn2
Patch Set: Moved visual viewport layer registration into WebViewImpl 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
Index: third_party/WebKit/Source/web/ChromeClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
index 7007f4b7453e36b816e49a495138151146e1007b..c122b748d3ca6915260bbfefec48538f1d5a06ed 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
@@ -1040,7 +1040,7 @@ void ChromeClientImpl::ajaxSucceeded(LocalFrame* frame)
void ChromeClientImpl::registerViewportLayers() const
{
if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView())
- m_webView->page()->frameHost().visualViewport().registerLayersWithTreeView(m_webView->layerTreeView());
+ m_webView->registerViewportLayersWithCompositor();
}
void ChromeClientImpl::didUpdateTopControls() const
« no previous file with comments | « third_party/WebKit/Source/core/frame/VisualViewport.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698