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 842a7977b59cbe88bd2559cffe46655980434335..21f5b8283ce47b1718af57bdb8431b8980af8b4d 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -1862,6 +1862,7 @@ TEST_F(LayerTreeHostImplTest, DidDrawCalledOnAllLayers) { |
EXPECT_FALSE(layer2->did_draw_called()); |
LayerTreeHostImpl::FrameData frame; |
+ FakeLayerTreeHostImpl::FakeSyncDrawProperties(host_impl_->active_tree()); |
EXPECT_EQ(DRAW_SUCCESS, host_impl_->PrepareToDraw(&frame)); |
host_impl_->DrawLayers(&frame); |
host_impl_->DidDrawAllLayers(frame); |
@@ -3694,6 +3695,7 @@ TEST_F(LayerTreeHostImplTest, BlendingOffWhenDrawingOpaqueLayers) { |
layer1->SetUpdateRect(gfx::RectF(layer1->content_bounds())); |
layer2->SetExpectation(false, false); |
layer2->SetUpdateRect(gfx::RectF(layer1->content_bounds())); |
+ FakeLayerTreeHostImpl::FakeSyncDrawProperties(host_impl_->active_tree()); |
EXPECT_EQ(DRAW_SUCCESS, host_impl_->PrepareToDraw(&frame)); |
host_impl_->DrawLayers(&frame); |
EXPECT_TRUE(layer1->quads_appended()); |