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

Unified Diff: cc/debug/micro_benchmark_controller_unittest.cc

Issue 1419283002: cc: Split Proxy and TaskRunnerProvider for the LayerTreeHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 5 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
« no previous file with comments | « cc/cc.gyp ('k') | cc/layers/delegated_renderer_layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/micro_benchmark_controller_unittest.cc
diff --git a/cc/debug/micro_benchmark_controller_unittest.cc b/cc/debug/micro_benchmark_controller_unittest.cc
index 9c5b0a565b05ad922ee3350278a0ce94bc6d2482..c7138cd01e10039caa04d7fa4300e5555f4c2744 100644
--- a/cc/debug/micro_benchmark_controller_unittest.cc
+++ b/cc/debug/micro_benchmark_controller_unittest.cc
@@ -32,7 +32,9 @@ class MicroBenchmarkControllerTest : public testing::Test {
layer_tree_host_ = FakeLayerTreeHost::Create(&layer_tree_host_client_,
&task_graph_runner_);
layer_tree_host_->SetRootLayer(Layer::Create(LayerSettings()));
- layer_tree_host_->InitializeForTesting(scoped_ptr<Proxy>(new FakeProxy));
+ layer_tree_host_->InitializeForTesting(
+ TaskRunnerProvider::Create(nullptr, nullptr),
+ scoped_ptr<Proxy>(new FakeProxy));
}
void TearDown() override {
« no previous file with comments | « cc/cc.gyp ('k') | cc/layers/delegated_renderer_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698