| 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 c209943ea3b0f20720d4e8e2886881a472632250..e814f418cc04ce6e9f4dedc410a557f93f9cfc8b 100644
|
| --- a/cc/test/layer_tree_json_parser_unittest.cc
|
| +++ b/cc/test/layer_tree_json_parser_unittest.cc
|
| @@ -83,8 +83,8 @@ TEST_F(LayerTreeJsonParserSanityCheck, Basic) {
|
|
|
| parent->SetPosition(gfx::PointF(25.f, 25.f));
|
|
|
| - parent->AddChild(std::move(child));
|
| - root_impl->AddChild(std::move(parent));
|
| + parent->test_properties()->AddChild(std::move(child));
|
| + root_impl->test_properties()->AddChild(std::move(parent));
|
| tree->SetRootLayer(std::move(root_impl));
|
|
|
| std::string json = host_impl.LayerTreeAsJson();
|
| @@ -112,7 +112,7 @@ TEST_F(LayerTreeJsonParserSanityCheck, EventHandlerRegions) {
|
| touch_region.Union(gfx::Rect(40, 10, 20, 20));
|
| touch_layer->SetTouchEventHandlerRegion(touch_region);
|
|
|
| - root_impl->AddChild(std::move(touch_layer));
|
| + root_impl->test_properties()->AddChild(std::move(touch_layer));
|
| tree->SetRootLayer(std::move(root_impl));
|
|
|
| std::string json = host_impl.LayerTreeAsJson();
|
|
|