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

Unified Diff: third_party/WebKit/Source/platform/scheduler/base/work_queue.h

Issue 2590593002: Revert of [Reland] Scheduler refactoring to virtually eliminate redundant DoWorks (Closed)
Patch Set: Created 4 years 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: third_party/WebKit/Source/platform/scheduler/base/work_queue.h
diff --git a/third_party/WebKit/Source/platform/scheduler/base/work_queue.h b/third_party/WebKit/Source/platform/scheduler/base/work_queue.h
index 9fedd553a11c205a9f4692aeabe6120f903e0dd0..998fc62d03c55c0d9cad243b1dbd353a69a66ef0 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/work_queue.h
+++ b/third_party/WebKit/Source/platform/scheduler/base/work_queue.h
@@ -31,9 +31,7 @@
// throttling mechanisms.
class BLINK_PLATFORM_EXPORT WorkQueue {
public:
- enum class QueueType { DELAYED, IMMEDIATE };
-
- WorkQueue(TaskQueueImpl* task_queue, const char* name, QueueType queue_type);
+ WorkQueue(TaskQueueImpl* task_queue, const char* name);
~WorkQueue();
// Associates this work queue with the given work queue sets. This must be
@@ -122,7 +120,6 @@
HeapHandle heap_handle_;
const char* name_;
EnqueueOrder fence_;
- QueueType queue_type_;
DISALLOW_COPY_AND_ASSIGN(WorkQueue);
};

Powered by Google App Engine
This is Rietveld 408576698