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 0af96d323ecb3d9bdb91b23312db71cbf3881edd..96df6f5bb798d9decaff493ebeb27c03e7a534c4 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -2299,6 +2299,7 @@ TEST_F(LayerTreeHostImplTest, DidDrawNotCalledOnHiddenLayer) { |
EXPECT_FALSE(layer->will_draw_called()); |
EXPECT_FALSE(layer->did_draw_called()); |
+ host_impl_->active_tree()->BuildPropertyTreesForTesting(); |
EXPECT_EQ(DRAW_SUCCESS, host_impl_->PrepareToDraw(&frame)); |
host_impl_->DrawLayers(&frame); |
host_impl_->DidDrawAllLayers(frame); |
@@ -5587,6 +5588,7 @@ TEST_F(LayerTreeHostImplTest, NoPartialSwap) { |
harness.MustSetScissor(0, 0, 10, 10); |
{ |
LayerTreeHostImpl::FrameData frame; |
+ host_impl_->active_tree()->BuildPropertyTreesForTesting(); |
EXPECT_EQ(DRAW_SUCCESS, host_impl_->PrepareToDraw(&frame)); |
host_impl_->DrawLayers(&frame); |
host_impl_->DidDrawAllLayers(frame); |