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

Unified Diff: cc/test/fake_layer_tree_host.h

Issue 606113003: Revert of Make cc output surface creation async (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 months 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
« no previous file with comments | « cc/layers/ui_resource_layer_unittest.cc ('k') | cc/test/fake_layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_layer_tree_host.h
diff --git a/cc/test/fake_layer_tree_host.h b/cc/test/fake_layer_tree_host.h
index c99edb3be2c9df149c386d1c6183b9bbe1ea6c68..d7c09a8ea1796c329c0bf5e1e70d6ec1f47a2f43 100644
--- a/cc/test/fake_layer_tree_host.h
+++ b/cc/test/fake_layer_tree_host.h
@@ -18,12 +18,12 @@
class FakeLayerTreeHost : public LayerTreeHost {
public:
- static scoped_ptr<FakeLayerTreeHost> Create(FakeLayerTreeHostClient* client);
+ static scoped_ptr<FakeLayerTreeHost> Create();
+
static scoped_ptr<FakeLayerTreeHost> Create(
- FakeLayerTreeHostClient* client,
const LayerTreeSettings& settings);
- virtual ~FakeLayerTreeHost();
+ virtual ~FakeLayerTreeHost() {}
virtual void SetNeedsCommit() OVERRIDE;
virtual void SetNeedsFullTreeSync() OVERRIDE {}
@@ -52,11 +52,10 @@
bool needs_commit() { return needs_commit_; }
private:
- FakeLayerTreeHost(FakeLayerTreeHostClient* client,
+ FakeLayerTreeHost(LayerTreeHostClient* client,
const LayerTreeSettings& settings);
FakeImplProxy proxy_;
- FakeLayerTreeHostClient* client_;
TestSharedBitmapManager manager_;
FakeLayerTreeHostImpl host_impl_;
bool needs_commit_;
« no previous file with comments | « cc/layers/ui_resource_layer_unittest.cc ('k') | cc/test/fake_layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698