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

Unified Diff: third_party/WebKit/Source/core/loader/EmptyClients.cpp

Issue 2735543002: Separate VisualViewport layer tree creation from attachment. (Closed)
Patch Set: 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/core/loader/EmptyClients.cpp
diff --git a/third_party/WebKit/Source/core/loader/EmptyClients.cpp b/third_party/WebKit/Source/core/loader/EmptyClients.cpp
index fc9747e0211dba594d4c38f6854032a215b49bab..c669fe1291120ff93951efdc3905d6f830d38956 100644
--- a/third_party/WebKit/Source/core/loader/EmptyClients.cpp
+++ b/third_party/WebKit/Source/core/loader/EmptyClients.cpp
@@ -115,7 +115,7 @@ void EmptyChromeClient::attachRootGraphicsLayer(GraphicsLayer* layer,
Page* page = localRoot ? localRoot->page() : nullptr;
if (!page)
return;
- page->frameHost().visualViewport().attachToLayerTree(layer);
+ page->frameHost().visualViewport().attachLayerTree(layer);
}
String EmptyChromeClient::acceptLanguages() {

Powered by Google App Engine
This is Rietveld 408576698