| Index: cc/trees/layer_tree_host_unittest_context.cc
|
| diff --git a/cc/trees/layer_tree_host_unittest_context.cc b/cc/trees/layer_tree_host_unittest_context.cc
|
| index 74b225e8725a261801f66400993612d5927bd2f0..3bb21701a7667a313fcdbaf90591385d824918c5 100644
|
| --- a/cc/trees/layer_tree_host_unittest_context.cc
|
| +++ b/cc/trees/layer_tree_host_unittest_context.cc
|
| @@ -648,7 +648,7 @@ class LayerTreeHostContextTestLostContextSucceedsWithContent
|
|
|
| void DrawLayersOnThread(LayerTreeHostImpl* host_impl) override {
|
| FakePictureLayerImpl* picture_impl = static_cast<FakePictureLayerImpl*>(
|
| - host_impl->active_tree()->root_layer()->children()[0]);
|
| + host_impl->active_tree()->root_layer()->children()[0].get());
|
| EXPECT_TRUE(picture_impl->HighResTiling()
|
| ->TileAt(0, 0)
|
| ->draw_info()
|
| @@ -857,9 +857,9 @@ class LayerTreeHostContextTestLayersNotified : public LayerTreeHostContextTest {
|
| root_picture = static_cast<FakePictureLayerImpl*>(
|
| host_impl->active_tree()->root_layer());
|
| child_picture =
|
| - static_cast<FakePictureLayerImpl*>(root_picture->children()[0]);
|
| + static_cast<FakePictureLayerImpl*>(root_picture->children()[0].get());
|
| grandchild_picture =
|
| - static_cast<FakePictureLayerImpl*>(child_picture->children()[0]);
|
| + static_cast<FakePictureLayerImpl*>(child_picture->children()[0].get());
|
|
|
| ++num_commits_;
|
| switch (num_commits_) {
|
|
|