Index: content/renderer/render_thread_impl.cc |
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc |
index d17d359334c3533da6d5266502ddf2ba036d1260..20c5675533105db80b7ce3497e8a9179a272b742 100644 |
--- a/content/renderer/render_thread_impl.cc |
+++ b/content/renderer/render_thread_impl.cc |
@@ -787,19 +787,19 @@ void RenderThreadImpl::Init( |
base::Bind(&RenderThreadImpl::OnSyncMemoryPressure, |
base::Unretained(this)))); |
- int num_raster_threads = 0; |
+ int num_categorized_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::kNumCategorizedWorkerThreads); |
+ bool parsed_num_categorized_worker_threads = |
+ base::StringToInt(string_value, &num_categorized_worker_threads); |
+ DCHECK(parsed_num_categorized_worker_threads) << string_value; |
+ DCHECK_GT(num_categorized_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_categorized_worker_threads); |
// TODO(boliu): In single process, browser main loop should set up the |
// discardable memory manager, and should skip this if kSingleProcess. |