| Index: cc/layers/layer_utils_unittest.cc
|
| diff --git a/cc/layers/layer_utils_unittest.cc b/cc/layers/layer_utils_unittest.cc
|
| index dc6d4aea4625cd99e7c95833a08b772c438041fe..8f38564746f1f34366fbb3bc703538845b0d4254 100644
|
| --- a/cc/layers/layer_utils_unittest.cc
|
| +++ b/cc/layers/layer_utils_unittest.cc
|
| @@ -59,16 +59,19 @@ class LayerUtilsGetAnimationBoundsTest : public testing::Test {
|
| std::unique_ptr<LayerImpl> root =
|
| LayerImpl::Create(host_impl->active_tree(), 1);
|
| LayerImpl* root_ptr = root.get();
|
| - root->AddChild(LayerImpl::Create(host_impl->active_tree(), 2));
|
| - root->test_properties()->children[0]->AddChild(
|
| + root->test_properties()->AddChild(
|
| + LayerImpl::Create(host_impl->active_tree(), 2));
|
| + root->test_properties()->children[0]->test_properties()->AddChild(
|
| LayerImpl::Create(host_impl->active_tree(), 3));
|
| - root->AddChild(LayerImpl::Create(host_impl->active_tree(), 4));
|
| - root->test_properties()->children[1]->AddChild(
|
| + root->test_properties()->AddChild(
|
| + LayerImpl::Create(host_impl->active_tree(), 4));
|
| + root->test_properties()->children[1]->test_properties()->AddChild(
|
| LayerImpl::Create(host_impl->active_tree(), 5));
|
| root->test_properties()
|
| ->children[1]
|
| ->test_properties()
|
| ->children[0]
|
| + ->test_properties()
|
| ->AddChild(LayerImpl::Create(host_impl->active_tree(), 6));
|
| root->test_properties()
|
| ->children[1]
|
| @@ -76,6 +79,7 @@ class LayerUtilsGetAnimationBoundsTest : public testing::Test {
|
| ->children[0]
|
| ->test_properties()
|
| ->children[0]
|
| + ->test_properties()
|
| ->AddChild(LayerImpl::Create(host_impl->active_tree(), 7));
|
| host_impl->active_tree()->SetRootLayer(std::move(root));
|
| return root_ptr;
|
|
|