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

Unified Diff: cc/resources/worker_pool.h

Issue 17351017: Re-land: cc: Add raster finished signals to RasterWorkerPool. (Closed) Base URL: http://git.chromium.org/chromium/src.git@new-graph-build
Patch Set: new approach Created 7 years, 6 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/worker_pool.h
diff --git a/cc/resources/worker_pool.h b/cc/resources/worker_pool.h
index 57bc774c082b8d19307f30e4876f1cba54d0f4b8..06cbf089401da4476f6307a9f05efaf88149d026 100644
--- a/cc/resources/worker_pool.h
+++ b/cc/resources/worker_pool.h
@@ -80,10 +80,9 @@ class CC_EXPORT WorkerPool {
public:
typedef std::vector<GraphNode*> Vector;
- GraphNode();
+ GraphNode(internal::WorkerPoolTask* task, unsigned priority);
~GraphNode();
- void set_task(internal::WorkerPoolTask* task) { task_ = task; }
internal::WorkerPoolTask* task() { return task_; }
void add_dependent(GraphNode* dependent) {
@@ -94,7 +93,6 @@ class CC_EXPORT WorkerPool {
return dependents_;
}
- void set_priority(unsigned priority) { priority_ = priority; }
unsigned priority() const { return priority_; }
unsigned num_dependencies() const {

Powered by Google App Engine
This is Rietveld 408576698