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

Unified Diff: cc/test/layer_tree_test.h

Issue 2717553005: cc: Glue LTHI and Scheduler changes for checker-imaging. (Closed)
Patch Set: .. 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/scheduler/scheduler_state_machine.cc ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test.h
diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h
index 625f47bbfa7af9a0a876cc45d40b1e92f4f95b2a..3b1f5439be5b97b5961363ac854b46b1a7fd5fac 100644
--- a/cc/test/layer_tree_test.h
+++ b/cc/test/layer_tree_test.h
@@ -149,6 +149,10 @@ class LayerTreeTest : public testing::Test, public TestHooks {
gfx::Vector2dF ScrollDelta(LayerImpl* layer_impl);
+ base::SingleThreadTaskRunner* image_worker_task_runner() const {
+ return image_worker_->task_runner().get();
+ }
+
private:
virtual void DispatchAddAnimationToPlayer(
AnimationPlayer* player_to_receive_animation,
@@ -186,6 +190,7 @@ class LayerTreeTest : public testing::Test, public TestHooks {
scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_;
scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner_;
std::unique_ptr<base::Thread> impl_thread_;
+ std::unique_ptr<base::Thread> image_worker_;
std::unique_ptr<SharedBitmapManager> shared_bitmap_manager_;
std::unique_ptr<TestGpuMemoryBufferManager> gpu_memory_buffer_manager_;
std::unique_ptr<TestTaskGraphRunner> task_graph_runner_;
« no previous file with comments | « cc/scheduler/scheduler_state_machine.cc ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698