| Index: cc/test/layer_tree_json_parser_unittest.cc
|
| diff --git a/cc/test/layer_tree_json_parser_unittest.cc b/cc/test/layer_tree_json_parser_unittest.cc
|
| index 7cd1a8b8e1052be8b7dd1035982b8853b377f2e4..3e52c8e84d8fb09fc5ed1a26655455d9bd506039 100644
|
| --- a/cc/test/layer_tree_json_parser_unittest.cc
|
| +++ b/cc/test/layer_tree_json_parser_unittest.cc
|
| @@ -67,9 +67,9 @@ TEST_F(LayerTreeJsonParserSanityCheck, Basic) {
|
| &task_graph_runner);
|
| LayerTreeImpl* tree = host_impl.active_tree();
|
|
|
| - scoped_ptr<LayerImpl> root_impl(LayerImpl::Create(tree, 1));
|
| - scoped_ptr<LayerImpl> parent(LayerImpl::Create(tree, 2));
|
| - scoped_ptr<LayerImpl> child(LayerImpl::Create(tree, 3));
|
| + std::unique_ptr<LayerImpl> root_impl(LayerImpl::Create(tree, 1));
|
| + std::unique_ptr<LayerImpl> parent(LayerImpl::Create(tree, 2));
|
| + std::unique_ptr<LayerImpl> child(LayerImpl::Create(tree, 3));
|
|
|
| root_impl->SetBounds(gfx::Size(100, 100));
|
| parent->SetBounds(gfx::Size(50, 50));
|
| @@ -95,8 +95,8 @@ TEST_F(LayerTreeJsonParserSanityCheck, EventHandlerRegions) {
|
| &task_graph_runner);
|
| LayerTreeImpl* tree = host_impl.active_tree();
|
|
|
| - scoped_ptr<LayerImpl> root_impl(LayerImpl::Create(tree, 1));
|
| - scoped_ptr<LayerImpl> touch_layer(LayerImpl::Create(tree, 2));
|
| + std::unique_ptr<LayerImpl> root_impl(LayerImpl::Create(tree, 1));
|
| + std::unique_ptr<LayerImpl> touch_layer(LayerImpl::Create(tree, 2));
|
|
|
| root_impl->SetBounds(gfx::Size(100, 100));
|
| touch_layer->SetBounds(gfx::Size(50, 50));
|
|
|