| Index: content/renderer/render_thread_impl.cc
|
| diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
|
| index 3069e79c1723680ecd1a36315dbf8be9f00cc719..1ddfa2957321a0a4bd4d40801519c170280df811 100644
|
| --- a/content/renderer/render_thread_impl.cc
|
| +++ b/content/renderer/render_thread_impl.cc
|
| @@ -28,7 +28,7 @@
|
| #include "base/threading/thread_restrictions.h"
|
| #include "base/values.h"
|
| #include "cc/base/switches.h"
|
| -#include "cc/resources/raster_worker_pool.h"
|
| +#include "cc/resources/worker_pool.h"
|
| #include "content/child/appcache/appcache_dispatcher.h"
|
| #include "content/child/appcache/appcache_frontend_impl.h"
|
| #include "content/child/child_histogram_message_filter.h"
|
| @@ -443,17 +443,17 @@
|
| // it doesn't have to be the same thread RenderThreadImpl is created on.
|
| allocate_gpu_memory_buffer_thread_checker_.DetachFromThread();
|
|
|
| - if (command_line.HasSwitch(switches::kNumRasterThreads)) {
|
| + if (command_line.HasSwitch(cc::switches::kNumRasterThreads)) {
|
| int num_raster_threads;
|
| std::string string_value =
|
| - command_line.GetSwitchValueASCII(switches::kNumRasterThreads);
|
| + command_line.GetSwitchValueASCII(cc::switches::kNumRasterThreads);
|
| if (base::StringToInt(string_value, &num_raster_threads) &&
|
| num_raster_threads >= kMinRasterThreads &&
|
| num_raster_threads <= kMaxRasterThreads) {
|
| - cc::RasterWorkerPool::SetNumRasterThreads(num_raster_threads);
|
| + cc::WorkerPool::SetNumRasterThreads(num_raster_threads);
|
| } else {
|
| LOG(WARNING) << "Failed to parse switch " <<
|
| - switches::kNumRasterThreads << ": " << string_value;
|
| + cc::switches::kNumRasterThreads << ": " << string_value;
|
| }
|
| }
|
|
|
|
|