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 8643dbc01a0f583b3a080633de9c2c26c701374b..45150c48493d7d646f6c7c3b432be2078c757200 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -59,6 +59,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" |
@@ -2151,7 +2152,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(); |
} |