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

Unified Diff: cc/resources/raster_worker_pool.h

Issue 523243002: cc: Generalize raster task notifications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove support for tasks that are in no set. Created 6 years, 3 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
Index: cc/resources/raster_worker_pool.h
diff --git a/cc/resources/raster_worker_pool.h b/cc/resources/raster_worker_pool.h
index 5a9fd25137bdfe53f60c299c83cdbb0b7c1f2783..0a4bb0c7115a81fc7187deeec96be6b9c01ff6ed 100644
--- a/cc/resources/raster_worker_pool.h
+++ b/cc/resources/raster_worker_pool.h
@@ -18,7 +18,6 @@ class CC_EXPORT RasterWorkerPool {
static unsigned kOnDemandRasterTaskPriority;
static unsigned kBenchmarkRasterTaskPriority;
static unsigned kRasterFinishedTaskPriority;
- static unsigned kRasterRequiredForActivationFinishedTaskPriority;
static unsigned kRasterTaskPriorityBase;
RasterWorkerPool();
@@ -41,14 +40,6 @@ class CC_EXPORT RasterWorkerPool {
base::SequencedTaskRunner* task_runner,
const base::Closure& callback);
- // Utility function that can be used to create a "raster required for
- // activation finished" task that posts |callback| to |task_runner| when run.
- static scoped_refptr<RasterizerTask>
- CreateRasterRequiredForActivationFinishedTask(
- size_t tasks_required_for_activation_count,
- base::SequencedTaskRunner* task_runner,
- const base::Closure& callback);
-
// Utility function that can be used to call ::ScheduleOnOriginThread() for
// each task in |graph|.
static void ScheduleTasksOnOriginThread(RasterizerTaskClient* client,

Powered by Google App Engine
This is Rietveld 408576698