Index: base/message_loop.h |
diff --git a/base/message_loop.h b/base/message_loop.h |
index 395ce6ed31d20ef0a54a608eba293740f744cfe5..ea172900a7025b3292de67651bee343d4cd7e202 100644 |
--- a/base/message_loop.h |
+++ b/base/message_loop.h |
@@ -365,7 +365,7 @@ class MessageLoop : public base::MessagePump::Delegate { |
// A list of tasks that need to be processed by this instance. Note that |
// this queue is only accessed (push/pop) by our current thread. |
- TaskQueue work_queue_; |
+ scoped_ptr<TaskQueue> work_queue_; |
// Contains delayed tasks, sorted by their 'delayed_run_time' property. |
DelayedTaskQueue delayed_work_queue_; |
@@ -393,7 +393,7 @@ class MessageLoop : public base::MessagePump::Delegate { |
// aquired under a mutex for processing on this instance's thread. These tasks |
// have not yet been sorted out into items for our work_queue_ vs items that |
// will be handled by the TimerManager. |
- TaskQueue incoming_queue_; |
+ scoped_ptr<TaskQueue> incoming_queue_; |
// Protect access to incoming_queue_. |
Lock incoming_queue_lock_; |