Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1550)

Unified Diff: cc/test/fake_layer_tree_host_impl.h

Issue 11529006: [cc] Fold more update calls into updateDrawProperties (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {
danakj 2012/12/13 18:12:28 nit: prepareToDrawEtc() force means something spe
enne (OOO) 2012/12/13 18:17:31 What about "drawOneFrame"?
+ LayerTreeHostImpl::FrameData frameData;
+ prepareToDraw(frameData);
+ didDrawAllLayers(frameData);
+ }
private:
FakeLayerTreeHostImplClient client_;

Powered by Google App Engine
This is Rietveld 408576698