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 |
old mode 100644 |
new mode 100755 |
index e4d1b735765a94b05c9fd822eed3bba318d821c6..8fa6827192599c4722b52ab90634cd152fdda930 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -17,6 +17,7 @@ |
#include "cc/animation/timing_function.h" |
#include "cc/base/latency_info_swap_promise_monitor.h" |
#include "cc/base/math_util.h" |
+#include "cc/base/switches.h" |
#include "cc/base/util.h" |
#include "cc/debug/benchmark_instrumentation.h" |
#include "cc/debug/debug_rect_history.h" |
@@ -1721,7 +1722,7 @@ void LayerTreeHostImpl::CreateAndSetTileManager( |
tile_manager_ = |
TileManager::Create(this, |
resource_provider, |
- settings_.num_raster_threads, |
+ switches::GetNumRasterThreads(), |
reveman
2013/12/27 14:57:13
num_raster_threads is not used by TileManager, Pix
sohanjg
2013/12/28 09:15:17
Done.
|
rendering_stats_instrumentation_, |
using_map_image, |
GetMaxTransferBufferUsageBytes(context_provider), |