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

Unified Diff: cc/layers/layer_position_constraint_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: Add missing include in perf test. 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
Index: cc/layers/layer_position_constraint_unittest.cc
diff --git a/cc/layers/layer_position_constraint_unittest.cc b/cc/layers/layer_position_constraint_unittest.cc
index 594dac220a9667c2cf02747cceab8b9c772c422e..6e32bb4934609e639f68fdee4a5a7b605f1771a8 100644
--- a/cc/layers/layer_position_constraint_unittest.cc
+++ b/cc/layers/layer_position_constraint_unittest.cc
@@ -71,7 +71,9 @@ class LayerPositionConstraintTest : public testing::Test {
child_impl_(nullptr),
grand_child_impl_(nullptr),
great_grand_child_impl_(nullptr) {
- layer_tree_host_->InitializeForTesting(scoped_ptr<Proxy>(new FakeProxy));
+ layer_tree_host_->InitializeForTesting(
+ TaskRunnerProvider::Create(nullptr, nullptr),
+ scoped_ptr<Proxy>(new FakeProxy));
CreateTreeForTest();
fixed_to_top_left_.set_is_fixed_position(true);
fixed_to_bottom_right_.set_is_fixed_position(true);
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/picture_layer_unittest.cc » ('j') | cc/test/fake_proxy.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698