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_; |