Index: base/task_scheduler/priority_queue.h |
diff --git a/base/task_scheduler/priority_queue.h b/base/task_scheduler/priority_queue.h |
index e37dae92f33cbccd72b40899f85f24e238e439a3..067a53614b14aade5d4434002918290a323c505f 100644 |
--- a/base/task_scheduler/priority_queue.h |
+++ b/base/task_scheduler/priority_queue.h |
@@ -107,6 +107,8 @@ class BASE_EXPORT PriorityQueue { |
// PriorityQueue. |
scoped_ptr<Transaction> BeginTransaction(); |
+ const SchedulerLock* container_lock() const { return &container_lock_; } |
+ |
private: |
struct SequenceAndSortKeyComparator { |
bool operator()(const scoped_ptr<SequenceAndSortKey>& left, |