Index: cc/test/layer_tree_test.h |
diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h |
index 6d44019a478f7156576ffc77c68cf38fd66d6444..f3e0feca22456b231a8e3ddcc4c1a6c640bbd3a8 100644 |
--- a/cc/test/layer_tree_test.h |
+++ b/cc/test/layer_tree_test.h |
@@ -152,6 +152,9 @@ class LayerTreeTest : public testing::Test, public TestHooks { |
return proxy()->ImplThreadTaskRunner() ? proxy()->ImplThreadTaskRunner() |
: main_task_runner_.get(); |
} |
+ base::SingleThreadTaskRunner* MainThreadTaskRunner() { |
+ return main_task_runner_.get(); |
+ } |
Proxy* proxy() const { |
return layer_tree_host_ ? layer_tree_host_->proxy() : NULL; |
} |