| Index: content/renderer/render_thread_impl.cc
|
| diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
|
| index e5b02417221d52006be60e31bc30d0c2f07fd788..13406beaa4b19e1142fb21597d838b892898c6b5 100644
|
| --- a/content/renderer/render_thread_impl.cc
|
| +++ b/content/renderer/render_thread_impl.cc
|
| @@ -786,19 +786,19 @@ void RenderThreadImpl::Init(
|
| base::Bind(&RenderThreadImpl::OnSyncMemoryPressure,
|
| base::Unretained(this))));
|
|
|
| - int num_raster_threads = 0;
|
| + int num_worker_threads = 0;
|
| std::string string_value =
|
| - command_line.GetSwitchValueASCII(switches::kNumRasterThreads);
|
| - bool parsed_num_raster_threads =
|
| - base::StringToInt(string_value, &num_raster_threads);
|
| - DCHECK(parsed_num_raster_threads) << string_value;
|
| - DCHECK_GT(num_raster_threads, 0);
|
| + command_line.GetSwitchValueASCII(switches::kNumWorkerThreads);
|
| + bool parsed_num_worker_threads =
|
| + base::StringToInt(string_value, &num_worker_threads);
|
| + DCHECK(parsed_num_worker_threads) << string_value;
|
| + DCHECK_GT(num_worker_threads, 0);
|
|
|
| // TODO(vmpstr): If the flag sticks, we should clean it up and always have
|
| // image decode tasks.
|
| are_image_decode_tasks_enabled_ = true;
|
|
|
| - categorized_worker_pool_->Start(num_raster_threads);
|
| + categorized_worker_pool_->Start(num_worker_threads);
|
|
|
| // TODO(boliu): In single process, browser main loop should set up the
|
| // discardable memory manager, and should skip this if kSingleProcess.
|
|
|