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

Unified Diff: cc/test/test_layer_tree_host_base.cc

Issue 2053193002: cc : Move LayerImpl::children to test properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: cc/test/test_layer_tree_host_base.cc
diff --git a/cc/test/test_layer_tree_host_base.cc b/cc/test/test_layer_tree_host_base.cc
index d1f081138b128913154999338bffa50bdac24271..becc2c1dbdd6315302b5a9ea02fb6bf9a47dae83 100644
--- a/cc/test/test_layer_tree_host_base.cc
+++ b/cc/test/test_layer_tree_host_base.cc
@@ -120,7 +120,9 @@ void TestLayerTreeHostBase::SetupPendingTree(
pending_tree->SetRootLayer(std::move(new_pending_root));
} else {
pending_layer.reset(static_cast<FakePictureLayerImpl*>(
- pending_root->RemoveChildForTesting(pending_root->children()[0])
+ pending_root
+ ->RemoveChildForTesting(
+ pending_root->test_properties()->children[0])
.release()));
if (!tile_size.IsEmpty())
pending_layer->set_fixed_tile_size(tile_size);

Powered by Google App Engine
This is Rietveld 408576698