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

Unified Diff: cc/test/layer_tree_test.cc

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
« no previous file with comments | « cc/layers/layer_position_constraint_unittest.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test.cc
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index 45d898a57f6622f6120ac22d76bca1bac00415e3..8d947b6dda20225416323626a4afe67f74497368 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -65,8 +65,7 @@ void CreateVirtualViewportLayers(Layer* root_layer,
inner_viewport_scroll_layer->SetBounds(outer_bounds);
outer_viewport_container_layer->SetBounds(outer_bounds);
- inner_viewport_scroll_layer->SetIsContainerForFixedPositionLayers(true);
bokan 2017/05/09 22:27:21 If we're going to keep the inner viewport as a con
- outer_scroll_layer->SetIsContainerForFixedPositionLayers(true);
+ outer_viewport_container_layer->SetIsContainerForFixedPositionLayers(true);
host->RegisterViewportLayers(overscroll_elasticity_layer, page_scale_layer,
inner_viewport_scroll_layer, outer_scroll_layer);
}
« no previous file with comments | « cc/layers/layer_position_constraint_unittest.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698