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

Unified Diff: content/renderer/raster_worker_pool.cc

Issue 1739993004: content: Implement dynamic priorities for raster threads. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Traces corrected. Created 4 years, 9 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/raster/task_graph_work_queue.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/raster_worker_pool.cc
diff --git a/content/renderer/raster_worker_pool.cc b/content/renderer/raster_worker_pool.cc
index e8ed13bf8cad0012e91abc13f9b2d6d3b23b117a..65c0014082744a7711a9588b0f1aeaf79cdc8ad5 100644
--- a/content/renderer/raster_worker_pool.cc
+++ b/content/renderer/raster_worker_pool.cc
@@ -155,11 +155,8 @@ void RasterWorkerPool::Start(int num_threads) {
#endif
scoped_ptr<base::SimpleThread> thread(new RasterWorkerPoolThread(
- base::StringPrintf("CompositorTileWorker%u",
- static_cast<unsigned>(threads_.size() + 1))
- .c_str(),
- thread_options, this, background_categories,
- &has_ready_to_run_background_tasks_cv_));
+ "CompositorTileWorkerBackground", thread_options, this,
+ background_categories, &has_ready_to_run_background_tasks_cv_));
thread->Start();
threads_.push_back(std::move(thread));
}
« no previous file with comments | « cc/raster/task_graph_work_queue.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698