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 e6f443a0d0f32df7c80174f0b0a47bbce0a60391..c2856cb030c3f0a24f8f6fcca240112e94310a0c 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -1862,6 +1862,8 @@ TEST_F(LayerTreeHostImplTest, DidDrawCalledOnAllLayers) { |
EXPECT_FALSE(layer2->did_draw_called()); |
LayerTreeHostImpl::FrameData frame; |
+ FakeLayerTreeHostImpl::UpdateNumChildrenAndDrawProperties( |
danakj
2014/08/06 14:57:08
PrepareToDraw does an UpdateDrawProps, why do we n
awoloszyn
2014/08/08 15:53:21
We do not need it. Will change.
|
+ host_impl_->active_tree()); |
EXPECT_EQ(DRAW_SUCCESS, host_impl_->PrepareToDraw(&frame)); |
host_impl_->DrawLayers(&frame); |
host_impl_->DidDrawAllLayers(frame); |
@@ -3695,6 +3697,8 @@ TEST_F(LayerTreeHostImplTest, BlendingOffWhenDrawingOpaqueLayers) { |
layer1->SetUpdateRect(gfx::RectF(layer1->content_bounds())); |
layer2->SetExpectation(false, false); |
layer2->SetUpdateRect(gfx::RectF(layer1->content_bounds())); |
+ FakeLayerTreeHostImpl::UpdateNumChildrenAndDrawProperties( |
danakj
2014/08/06 14:57:08
Same question
awoloszyn
2014/08/08 15:53:21
Same.
|
+ host_impl_->active_tree()); |
EXPECT_EQ(DRAW_SUCCESS, host_impl_->PrepareToDraw(&frame)); |
host_impl_->DrawLayers(&frame); |
EXPECT_TRUE(layer1->quads_appended()); |