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 f61fad75a052eae6f6cfac5da146ad243ef9a7eb..2be2c05799f58f7b0dc5b267cdea93597fc97917 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_; |