Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2582)

Unified Diff: cc/resources/raster_worker_pool.cc

Issue 73923003: Shared Raster Worker Threads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build Error for Mac, macro conflict, moving setter to WorkerPool. Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/resources/raster_worker_pool.h ('k') | cc/resources/raster_worker_pool_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/raster_worker_pool.cc
diff --git a/cc/resources/raster_worker_pool.cc b/cc/resources/raster_worker_pool.cc
index fd0aaccc2ee7fa260c9d319f191e9f1a4488eb95..5e45e8c447c3caebe1a0f4e628a15389295577e7 100644
--- a/cc/resources/raster_worker_pool.cc
+++ b/cc/resources/raster_worker_pool.cc
@@ -410,7 +410,6 @@ class RasterRequiredForActivationFinishedWorkerPoolTaskImpl
RasterRequiredForActivationFinishedWorkerPoolTaskImpl);
};
-const char* kWorkerThreadNamePrefix = "CompositorRaster";
} // namespace
@@ -557,10 +556,8 @@ RasterWorkerPool::Task RasterWorkerPool::CreateImageDecodeTask(
}
RasterWorkerPool::RasterWorkerPool(ResourceProvider* resource_provider,
- ContextProvider* context_provider,
- size_t num_threads)
- : WorkerPool(num_threads, kWorkerThreadNamePrefix),
- client_(NULL),
+ ContextProvider* context_provider)
+ : client_(NULL),
resource_provider_(resource_provider),
context_provider_(context_provider),
weak_ptr_factory_(this) {
« no previous file with comments | « cc/resources/raster_worker_pool.h ('k') | cc/resources/raster_worker_pool_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698