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

Unified Diff: third_party/WebKit/Source/platform/scheduler/base/work_queue_sets_unittest.cc

Issue 2326313003: Revert of Make canceling Timers fast. (Closed)
Patch Set: Created 4 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: third_party/WebKit/Source/platform/scheduler/base/work_queue_sets_unittest.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/base/work_queue_sets_unittest.cc b/third_party/WebKit/Source/platform/scheduler/base/work_queue_sets_unittest.cc
index 9fce1f039fe7b1c11c800ea60adf557ed1766e11..7dbee0be71c2efafbfa22ba46a1fd9034006deb6 100644
--- a/third_party/WebKit/Source/platform/scheduler/base/work_queue_sets_unittest.cc
+++ b/third_party/WebKit/Source/platform/scheduler/base/work_queue_sets_unittest.cc
@@ -35,7 +35,8 @@
};
WorkQueue* NewTaskQueue(const char* queue_name) {
- WorkQueue* queue = new WorkQueue(nullptr, "test");
+ WorkQueue* queue = new WorkQueue(
+ nullptr, "test", TaskQueueImpl::Task::EnqueueOrderComparatorFn);
work_queues_.push_back(base::WrapUnique(queue));
work_queue_sets_->AddQueue(queue, TaskQueue::CONTROL_PRIORITY);
return queue;

Powered by Google App Engine
This is Rietveld 408576698