| Index: cc/layers/layer_impl_unittest.cc
|
| diff --git a/cc/layers/layer_impl_unittest.cc b/cc/layers/layer_impl_unittest.cc
|
| index d521dd8858ff1f856f00a2d94f4dc57762ecf058..9f16df22e0654b0e43549475284a3257d08ac795 100644
|
| --- a/cc/layers/layer_impl_unittest.cc
|
| +++ b/cc/layers/layer_impl_unittest.cc
|
| @@ -134,9 +134,9 @@ TEST(LayerImplTest, VerifyLayerChangesAreTrackedProperly) {
|
| root->layer_tree_impl()->ResetAllChangeTracking();
|
|
|
| root->AddChild(LayerImpl::Create(host_impl.active_tree(), 7));
|
| - LayerImpl* child = root->children()[0];
|
| + LayerImpl* child = root->test_properties()->children[0];
|
| child->AddChild(LayerImpl::Create(host_impl.active_tree(), 8));
|
| - LayerImpl* grand_child = child->children()[0];
|
| + LayerImpl* grand_child = child->test_properties()->children[0];
|
| root->SetScrollClipLayer(root_clip->id());
|
| host_impl.active_tree()->BuildLayerListAndPropertyTreesForTesting();
|
|
|
| @@ -419,7 +419,10 @@ class LayerImplScrollTest : public testing::Test {
|
| }
|
|
|
| LayerImpl* layer() {
|
| - return host_impl_.active_tree()->root_layer()->children()[0];
|
| + return host_impl_.active_tree()
|
| + ->root_layer()
|
| + ->test_properties()
|
| + ->children[0];
|
| }
|
|
|
| ScrollTree* scroll_tree(LayerImpl* layer_impl) {
|
|
|