| Index: cc/trees/layer_tree_host_impl_unittest.cc
|
| diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc
|
| index 2ec30fabb6d658c25ed08d57a7eee796408751d1..76b5947821f64b6fa7f3f7662201d14cc383770f 100644
|
| --- a/cc/trees/layer_tree_host_impl_unittest.cc
|
| +++ b/cc/trees/layer_tree_host_impl_unittest.cc
|
| @@ -3259,6 +3259,7 @@ TEST_F(LayerTreeHostImplTest, DidDrawNotCalledOnHiddenLayer) {
|
|
|
| // Ensure visible_layer_rect for layer is not empty
|
| layer->SetPosition(gfx::PointF());
|
| + layer->NoteLayerPropertyChanged();
|
|
|
| EXPECT_FALSE(layer->will_draw_called());
|
| EXPECT_FALSE(layer->did_draw_called());
|
| @@ -6585,6 +6586,10 @@ TEST_F(LayerTreeHostImplTest, PartialSwapReceivesDamageRect) {
|
| // expected swap rect: vertically flipped, with origin at bottom left corner.
|
| layer_tree_host_impl->active_tree()->root_layer()->children()[0]->SetPosition(
|
| gfx::PointF());
|
| + layer_tree_host_impl->active_tree()
|
| + ->root_layer()
|
| + ->children()[0]
|
| + ->NoteLayerPropertyChanged();
|
| layer_tree_host_impl->active_tree()->property_trees()->needs_rebuild = true;
|
| layer_tree_host_impl->active_tree()->BuildPropertyTreesForTesting();
|
| EXPECT_EQ(DRAW_SUCCESS, layer_tree_host_impl->PrepareToDraw(&frame));
|
|
|