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 bb63c28881d61004e3dfb3a463594f085913a542..17b938786845467713b7eb3c7971242841331999 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" |
@@ -2143,7 +2144,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(); |
} |