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

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: Created 6 years, 2 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 | « no previous file | cc/layers/scrollbar_layer_unittest.cc » ('j') | cc/scheduler/begin_frame_source.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_unittest.cc
diff --git a/cc/layers/layer_unittest.cc b/cc/layers/layer_unittest.cc
index 32b4b4c322e84ce13cc25c02441873b4f57b27d5..328628c9f6a3b1651c363d33290e22e5c04051fe 100644
--- a/cc/layers/layer_unittest.cc
+++ b/cc/layers/layer_unittest.cc
@@ -41,7 +41,9 @@ class MockLayerTreeHost : public LayerTreeHost {
public:
explicit MockLayerTreeHost(FakeLayerTreeHostClient* client)
: LayerTreeHost(client, NULL, LayerTreeSettings()) {
- InitializeSingleThreaded(client, base::MessageLoopProxy::current());
+ InitializeSingleThreaded(client,
+ base::MessageLoopProxy::current(),
+ scoped_ptr<ExternalBeginFrameSource>());
danakj 2014/10/10 16:03:35 pass nullptr instead
simonhong 2014/10/15 01:04:21 Done.
}
MOCK_METHOD0(SetNeedsCommit, void());
@@ -934,7 +936,8 @@ class LayerTreeHostFactory {
&client_,
shared_bitmap_manager_.get(),
LayerTreeSettings(),
- base::MessageLoopProxy::current()).Pass();
+ base::MessageLoopProxy::current(),
+ scoped_ptr<ExternalBeginFrameSource>()).Pass();
danakj 2014/10/10 16:03:35 nullptr here, etc
simonhong 2014/10/15 01:04:21 Done.
}
scoped_ptr<LayerTreeHost> Create(LayerTreeSettings settings) {
@@ -943,7 +946,8 @@ class LayerTreeHostFactory {
&client_,
shared_bitmap_manager_.get(),
settings,
- base::MessageLoopProxy::current()).Pass();
+ base::MessageLoopProxy::current(),
+ scoped_ptr<ExternalBeginFrameSource>()).Pass();
}
private:
« no previous file with comments | « no previous file | cc/layers/scrollbar_layer_unittest.cc » ('j') | cc/scheduler/begin_frame_source.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698