Index: base/message_loop.h |
=================================================================== |
--- base/message_loop.h (revision 25087) |
+++ base/message_loop.h (working copy) |
@@ -281,7 +281,13 @@ |
bool operator<(const PendingTask& other) const; |
}; |
- typedef std::queue<PendingTask> TaskQueue; |
+ class TaskQueue : public std::queue<PendingTask> { |
+ public: |
+ void Swap(TaskQueue* queue) { |
+ c.swap(queue->c); |
eric.rannaud
2009/09/02 18:37:46
What is c?
|
+ } |
+ }; |
+ |
typedef std::priority_queue<PendingTask> DelayedTaskQueue; |
#if defined(OS_WIN) |