Index: base/task_scheduler/sequence_sort_key.h |
diff --git a/base/task_scheduler/sequence_sort_key.h b/base/task_scheduler/sequence_sort_key.h |
index 0a03ed1fb8acc0ee3e49a2b55fd770fc0bdfe538..eb8170821e1ac972f9492710c1aa3dc5117ec0ac 100644 |
--- a/base/task_scheduler/sequence_sort_key.h |
+++ b/base/task_scheduler/sequence_sort_key.h |
@@ -17,6 +17,8 @@ class BASE_EXPORT SequenceSortKey final { |
public: |
SequenceSortKey(TaskPriority priority, TimeTicks next_task_sequenced_time); |
+ TaskPriority priority() const { return priority_; } |
+ |
bool operator<(const SequenceSortKey& other) const; |
bool operator>(const SequenceSortKey& other) const { return other < *this; } |