Index: cc/layers/layer_unittest.cc |
diff --git a/cc/layers/layer_unittest.cc b/cc/layers/layer_unittest.cc |
index ecdd91607369213c4556c4f65c3ec210f6232682..246a6582a79571ab6b76c6b95c26339f4041dbf6 100644 |
--- a/cc/layers/layer_unittest.cc |
+++ b/cc/layers/layer_unittest.cc |
@@ -42,7 +42,9 @@ class MockLayerTreeHost : public LayerTreeHost { |
public: |
explicit MockLayerTreeHost(FakeLayerTreeHostClient* client) |
: LayerTreeHost(client, nullptr, nullptr, LayerTreeSettings()) { |
- InitializeSingleThreaded(client, base::MessageLoopProxy::current()); |
+ InitializeSingleThreaded(client, |
+ base::MessageLoopProxy::current(), |
+ nullptr); |
} |
MOCK_METHOD0(SetNeedsCommit, void()); |
@@ -935,7 +937,8 @@ class LayerTreeHostFactory { |
shared_bitmap_manager_.get(), |
gpu_memory_buffer_manager_.get(), |
LayerTreeSettings(), |
- base::MessageLoopProxy::current()).Pass(); |
+ base::MessageLoopProxy::current(), |
+ nullptr); |
} |
scoped_ptr<LayerTreeHost> Create(LayerTreeSettings settings) { |
@@ -945,7 +948,8 @@ class LayerTreeHostFactory { |
shared_bitmap_manager_.get(), |
gpu_memory_buffer_manager_.get(), |
settings, |
- base::MessageLoopProxy::current()).Pass(); |
+ base::MessageLoopProxy::current(), |
+ nullptr); |
} |
private: |