| Index: cc/layers/layer_impl_unittest.cc
|
| diff --git a/cc/layers/layer_impl_unittest.cc b/cc/layers/layer_impl_unittest.cc
|
| index 8b93be375c16532d04bc5807721ba95e96643259..65691b4aa5e18d127c8d7117193b7e8b54fc8a02 100644
|
| --- a/cc/layers/layer_impl_unittest.cc
|
| +++ b/cc/layers/layer_impl_unittest.cc
|
| @@ -116,9 +116,9 @@ TEST(LayerImplTest, VerifyLayerChangesAreTrackedProperly) {
|
| clip_children->insert(root);
|
|
|
| root->AddChild(LayerImpl::Create(host_impl.active_tree(), 7));
|
| - LayerImpl* child = root->children()[0];
|
| + LayerImpl* child = root->children()[0].get();
|
| child->AddChild(LayerImpl::Create(host_impl.active_tree(), 8));
|
| - LayerImpl* grand_child = child->children()[0];
|
| + LayerImpl* grand_child = child->children()[0].get();
|
|
|
| root->SetScrollClipLayer(root_clip->id());
|
|
|
| @@ -451,7 +451,7 @@ class LayerImplScrollTest : public testing::Test {
|
| }
|
|
|
| LayerImpl* layer() {
|
| - return host_impl_.active_tree()->root_layer()->children()[0];
|
| + return host_impl_.active_tree()->root_layer()->children()[0].get();
|
| }
|
|
|
| LayerTreeHostImpl& host_impl() { return host_impl_; }
|
|
|