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

Unified Diff: third_party/WebKit/Source/core/frame/VisualViewport.cpp

Issue 2840143002: [cc] Change semantics of fixed-pos container layer
Patch Set: add back inner viewport container layer as fixed-pos container Created 3 years, 8 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/frame/VisualViewport.cpp
diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.cpp b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
index 32be070c8763265800bb3e769c9e5bf8dd38bd8d..9b46e1408588bdd339a19506a1172d98f7ee3539 100644
--- a/third_party/WebKit/Source/core/frame/VisualViewport.cpp
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.cpp
@@ -350,7 +350,7 @@ void VisualViewport::CreateLayerTree() {
ScrollingCoordinator* coordinator = GetPage().GetScrollingCoordinator();
DCHECK(coordinator);
coordinator->SetLayerIsContainerForFixedPositionLayers(
- inner_viewport_scroll_layer_.get(), true);
+ inner_viewport_container_layer_.get(), true);
// Set masks to bounds so the compositor doesn't clobber a manually
// set inner viewport container layer size.

Powered by Google App Engine
This is Rietveld 408576698