| 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 2fc8fff4793976ce564716670828b49a6dc262fa..a3a578fd382e626b260f8a7352cf60d16979c51a 100644
|
| --- a/cc/trees/layer_tree_host_impl_unittest.cc
|
| +++ b/cc/trees/layer_tree_host_impl_unittest.cc
|
| @@ -3462,7 +3462,11 @@ TEST_F(LayerTreeHostImplTest,
|
| host_impl_->OnRootLayerDelegatedScrollOffsetChanged();
|
|
|
| // Check scroll delta reflected in layer.
|
| - DrawFrame();
|
| + LayerTreeHostImpl::FrameData frame;
|
| + EXPECT_EQ(DRAW_SUCCESS, host_impl_->PrepareToDraw(&frame));
|
| + host_impl_->DrawLayers(&frame, gfx::FrameTime::Now());
|
| + host_impl_->DidDrawAllLayers(frame);
|
| + EXPECT_FALSE(frame.has_no_damage);
|
| CheckLayerScrollDelta(scroll_layer, ScrollOffsetToVector2dF(scroll_offset));
|
|
|
| host_impl_->SetRootLayerScrollOffsetDelegate(NULL);
|
|
|