layer->touch_event_handler_region()));
for (size_t i = 0; i < layer_impl->children().size(); ++i) {
- RETURN_IF_EXPECTATION_FAILS(
- EXPECT_TRUE(LayerTreesMatch(layer_impl->children()[i],
- layer->children()[i])));
+ RETURN_IF_EXPECTATION_FAILS(EXPECT_TRUE(LayerTreesMatch(
+ layer_impl->children()[i], layer->children()[i].get())));
}
return true;
std::string json = host_impl.LayerTreeAsJson();
scoped_refptr<Layer> root = ParseTreeFromJson(json, NULL);
- ASSERT_TRUE(root);
+ ASSERT_TRUE(root.get());
EXPECT_TRUE(LayerTreesMatch(host_impl.RootLayer(), root.get()));
}
std::string json = host_impl.LayerTreeAsJson();
scoped_refptr<Layer> root = ParseTreeFromJson(json, NULL);
- ASSERT_TRUE(root);
+ ASSERT_TRUE(root.get());
EXPECT_TRUE(LayerTreesMatch(host_impl.RootLayer(), root.get()));
}