Index: base/task_scheduler/priority_queue.h |
diff --git a/base/task_scheduler/priority_queue.h b/base/task_scheduler/priority_queue.h |
index ac1dbdeb9778e2a02c60fb417783bff5e73e5f73..b34c1d5c654a8b7cd99ae979a0ddc87f7ee82bd4 100644 |
--- a/base/task_scheduler/priority_queue.h |
+++ b/base/task_scheduler/priority_queue.h |
@@ -27,11 +27,11 @@ class BASE_EXPORT PriorityQueue { |
// PriorityQueue. While a Transaction is alive, it is guaranteed that nothing |
// else will access the PriorityQueue. |
// |
- // A WorkerThread needs to be able to Peek sequences from both its |
- // PriorityQueues (single-threaded and shared) and then Pop the sequence with |
- // the highest priority. If the Peek and the Pop are done through the same |
- // Transaction, it is guaranteed that the PriorityQueue hasn't changed between |
- // the 2 operations. |
+ // A Worker needs to be able to Peek sequences from both its PriorityQueues |
+ // (single-threaded and shared) and then Pop the sequence with the highest |
+ // priority. If the Peek and the Pop are done through the same Transaction, it |
+ // is guaranteed that the PriorityQueue hasn't changed between the 2 |
+ // operations. |
class BASE_EXPORT Transaction : public NonThreadSafe { |
public: |
~Transaction(); |