Index: cc/test/fake_layer_tree_host_impl.h |
diff --git a/cc/test/fake_layer_tree_host_impl.h b/cc/test/fake_layer_tree_host_impl.h |
index 73ff9ed834ad32bb3d9b337ffcac023676b5d928..d8f2c6bd3866a4f0525dbcf996433136f058a87b 100644 |
--- a/cc/test/fake_layer_tree_host_impl.h |
+++ b/cc/test/fake_layer_tree_host_impl.h |
@@ -16,7 +16,11 @@ class FakeLayerTreeHostImpl : public LayerTreeHostImpl { |
FakeLayerTreeHostImpl(Proxy* proxy); |
virtual ~FakeLayerTreeHostImpl(); |
- using LayerTreeHostImpl::resetNeedsUpdateDrawPropertiesForTesting; |
+ void forcePrepareToDraw() { |
+ LayerTreeHostImpl::FrameData frameData; |
+ prepareToDraw(frameData); |
+ didDrawAllLayers(frameData); |
+ } |
private: |
FakeLayerTreeHostImplClient client_; |