diff options
author | khushalsagar <khushalsagar@chromium.org> | 2015-11-11 16:51:27 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-12 00:52:13 +0000 |
commit | b7db1fe24ebd92ed43f995ee615f1b4b02cc7c43 (patch) | |
tree | a8f253ad36ad5a56ce80611cf14acf4c292b7442 /cc/debug | |
parent | 42117bb2912be0463d68b5767e8b1207c95fccae (diff) | |
download | chromium_src-b7db1fe24ebd92ed43f995ee615f1b4b02cc7c43.zip chromium_src-b7db1fe24ebd92ed43f995ee615f1b4b02cc7c43.tar.gz chromium_src-b7db1fe24ebd92ed43f995ee615f1b4b02cc7c43.tar.bz2 |
cc: Split Proxy and TaskRunnerProvider for the LayerTreeHost
The LayerTreeHost uses the abstract part of Proxy to access the impl
side of the compositor and the TaskRunnerProvider to access the main
task runner and assertion checks.
Decoupling these 2 will allow the LayerTreeHost used only for
deserialization and commits on the client to be built without a proxy.
This is a follow-up patch to: https://codereview.chromium.org/1418953002/
BUG=527200
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1419283002
Cr-Commit-Position: refs/heads/master@{#359196}
Diffstat (limited to 'cc/debug')
-rw-r--r-- | cc/debug/micro_benchmark_controller_unittest.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cc/debug/micro_benchmark_controller_unittest.cc b/cc/debug/micro_benchmark_controller_unittest.cc index 9c5b0a5..c7138cd 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 { |