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

Unified Diff: cc/layers/layer_unittest.cc

Issue 619843002: cc: Make separate interface for BeginFrame ipc from OutputSurface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased on master and fix skyostil's comment Created 6 years, 1 month 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/layers/layer_unittest.cc
diff --git a/cc/layers/layer_unittest.cc b/cc/layers/layer_unittest.cc
index ecdd91607369213c4556c4f65c3ec210f6232682..7de0ef80f65d0ad350ed477740dcb7a03208874b 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).Pass();
dcheng 2014/11/10 22:56:15 Pass() is redundant here.
simonhong 2014/11/11 12:54:15 Done.
}
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).Pass();
dcheng 2014/11/10 22:56:15 Ditto. One day, I hope to be able to automatically
simonhong 2014/11/11 12:54:15 Done.
}
private:

Powered by Google App Engine
This is Rietveld 408576698