| Index: cc/layers/layer_impl_test_properties.cc
|
| diff --git a/cc/layers/layer_impl_test_properties.cc b/cc/layers/layer_impl_test_properties.cc
|
| index 631272d7f95e87c86b44b5be126437ec98e93647..dd2e26885af3c3207ba7998cd9ada2a64af8f94d 100644
|
| --- a/cc/layers/layer_impl_test_properties.cc
|
| +++ b/cc/layers/layer_impl_test_properties.cc
|
| @@ -24,7 +24,8 @@ LayerImplTestProperties::LayerImplTestProperties(LayerImpl* owning_layer)
|
| scroll_parent(nullptr),
|
| clip_parent(nullptr),
|
| mask_layer(nullptr),
|
| - replica_layer(nullptr) {}
|
| + replica_layer(nullptr),
|
| + parent(nullptr) {}
|
|
|
| LayerImplTestProperties::~LayerImplTestProperties() {}
|
|
|
| @@ -44,7 +45,7 @@ void LayerImplTestProperties::SetReplicaLayer(
|
| }
|
| replica_layer = replica.get();
|
| if (replica) {
|
| - replica->SetParent(owning_layer);
|
| + replica->test_properties()->parent = owning_layer;
|
| owning_layer->layer_tree_impl()->AddLayer(std::move(replica));
|
| }
|
| }
|
|
|