| Index: cc/trees/layer_tree_impl_unittest.cc
|
| diff --git a/cc/trees/layer_tree_impl_unittest.cc b/cc/trees/layer_tree_impl_unittest.cc
|
| index 8b33f9092f040fb36226b0602f8efabff94beaa2..bdf7c69867f41ea41b350713230387d8c19937ae 100644
|
| --- a/cc/trees/layer_tree_impl_unittest.cc
|
| +++ b/cc/trees/layer_tree_impl_unittest.cc
|
| @@ -1066,7 +1066,7 @@ TEST_F(LayerTreeImplTest, HitTestingRespectsClipParents) {
|
| grand_child->SetPosition(gfx::PointF(0.f, 40.f));
|
| grand_child->SetBounds(gfx::Size(100, 50));
|
| grand_child->SetDrawsContent(true);
|
| - grand_child->SetHasRenderSurface(true);
|
| + grand_child->test_properties()->force_render_surface = true;
|
|
|
| // This should let |grand_child| "escape" |child|'s clip.
|
| grand_child->test_properties()->clip_parent = root;
|
| @@ -1118,7 +1118,7 @@ TEST_F(LayerTreeImplTest, HitTestingRespectsScrollParents) {
|
|
|
| grand_child->SetBounds(gfx::Size(200, 200));
|
| grand_child->SetDrawsContent(true);
|
| - grand_child->SetHasRenderSurface(true);
|
| + grand_child->test_properties()->force_render_surface = true;
|
|
|
| scroll_child->test_properties()->AddChild(std::move(grand_child));
|
| root->test_properties()->AddChild(std::move(scroll_child));
|
|
|