Index: cc/trees/layer_tree_host_impl.cc |
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc |
index 4e2ba8dc07af876dccf28107050b169f7d00270e..c7c08f35fa771f7b39d33006816354b15a1ded7e 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -58,6 +58,7 @@ |
#include "cc/raster/gpu_rasterizer.h" |
#include "cc/raster/gpu_tile_task_worker_pool.h" |
#include "cc/raster/one_copy_tile_task_worker_pool.h" |
+#include "cc/raster/synchronous_task_graph_runner.h" |
#include "cc/raster/tile_task_worker_pool.h" |
#include "cc/raster/zero_copy_tile_task_worker_pool.h" |
#include "cc/resources/memory_history.h" |
@@ -2160,7 +2161,8 @@ void LayerTreeHostImpl::CreateResourceAndTileTaskWorkerPool( |
TaskGraphRunner* task_graph_runner = task_graph_runner_; |
if (is_synchronous_single_threaded_) { |
DCHECK(!single_thread_synchronous_task_graph_runner_); |
- single_thread_synchronous_task_graph_runner_.reset(new TaskGraphRunner); |
+ single_thread_synchronous_task_graph_runner_.reset( |
+ new SynchronousTaskGraphRunner); |
task_graph_runner = single_thread_synchronous_task_graph_runner_.get(); |
} |