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

Unified Diff: cc/layers/layer_position_constraint_unittest.cc

Issue 2887053002: Remove scroll_clip_layer dependency from viewport layer tracking (Closed)
Patch Set: Cleanup return stmt Created 3 years, 7 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_impl_unittest.cc ('k') | cc/test/fake_layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_position_constraint_unittest.cc
diff --git a/cc/layers/layer_position_constraint_unittest.cc b/cc/layers/layer_position_constraint_unittest.cc
index 19e04f157e935abfd83b5d0fe1eb40c3f3176ae7..8b1989f5638fda6601960ef40d0a535a3d92d545 100644
--- a/cc/layers/layer_position_constraint_unittest.cc
+++ b/cc/layers/layer_position_constraint_unittest.cc
@@ -135,8 +135,9 @@ class LayerPositionConstraintTest : public testing::Test {
root_->AddChild(inner_viewport_container_layer_);
layer_tree_host_->SetRootLayer(root_);
- layer_tree_host_->RegisterViewportLayers(nullptr, root_, scroll_layer_,
- child_);
+ layer_tree_host_->RegisterViewportLayers(
+ nullptr, root_, inner_viewport_container_layer_,
+ outer_viewport_container_layer_, scroll_layer_, child_);
}
void CommitAndUpdateImplPointers() {
« no previous file with comments | « cc/layers/layer_impl_unittest.cc ('k') | cc/test/fake_layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698