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

Unified Diff: cc/test/fake_layer_tree_host_impl.cc

Issue 2668873002: cc: Add checker-imaging support to TileManager. (Closed)
Patch Set: remove include Created 3 years, 10 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/test/fake_layer_tree_host_impl.h ('k') | cc/test/fake_layer_tree_host_impl_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_layer_tree_host_impl.cc
diff --git a/cc/test/fake_layer_tree_host_impl.cc b/cc/test/fake_layer_tree_host_impl.cc
index 63a32fdb2877fec8cf8e202ddfdc4ffe054b1bae..f7909cf516b6f360dc516cfe276141e6923c2e0d 100644
--- a/cc/test/fake_layer_tree_host_impl.cc
+++ b/cc/test/fake_layer_tree_host_impl.cc
@@ -25,6 +25,16 @@ FakeLayerTreeHostImpl::FakeLayerTreeHostImpl(
const LayerTreeSettings& settings,
TaskRunnerProvider* task_runner_provider,
TaskGraphRunner* task_graph_runner)
+ : FakeLayerTreeHostImpl(settings,
+ task_runner_provider,
+ task_graph_runner,
+ nullptr) {}
+
+FakeLayerTreeHostImpl::FakeLayerTreeHostImpl(
+ const LayerTreeSettings& settings,
+ TaskRunnerProvider* task_runner_provider,
+ TaskGraphRunner* task_graph_runner,
+ scoped_refptr<base::SequencedTaskRunner> image_worker_task_runner)
: LayerTreeHostImpl(settings,
&client_,
task_runner_provider,
@@ -32,7 +42,7 @@ FakeLayerTreeHostImpl::FakeLayerTreeHostImpl(
task_graph_runner,
AnimationHost::CreateForTesting(ThreadInstance::IMPL),
0,
- nullptr),
+ std::move(image_worker_task_runner)),
notify_tile_state_changed_called_(false) {
// Explicitly clear all debug settings.
SetDebugState(LayerTreeDebugState());
« no previous file with comments | « cc/test/fake_layer_tree_host_impl.h ('k') | cc/test/fake_layer_tree_host_impl_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698