summaryrefslogtreecommitdiffstats
path: root/cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc')
-rw-r--r--cc/layers/delegated_renderer_layer_impl_unittest.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/layers/delegated_renderer_layer_impl_unittest.cc b/cc/layers/delegated_renderer_layer_impl_unittest.cc
index 8976cc5..eea9237 100644
--- a/cc/layers/delegated_renderer_layer_impl_unittest.cc
+++ b/cc/layers/delegated_renderer_layer_impl_unittest.cc
@@ -1591,6 +1591,9 @@ TEST_F(DelegatedRendererLayerImplTest, Occlusion) {
gfx::Transform layer_transform;
layer_transform.Translate(11.0, 0.0);
delegated_renderer_layer_impl->SetTransform(layer_transform);
+ delegated_renderer_layer_impl->layer_tree_impl()
+ ->property_trees()
+ ->needs_rebuild = true;
occlusion_in_target_of_delegated_quad += gfx::Vector2d(11, 0);