Index: base/message_loop/incoming_task_queue.cc |
diff --git a/base/message_loop/incoming_task_queue.cc b/base/message_loop/incoming_task_queue.cc |
index 8298c281de21b6398b6879549540a94bb11086cf..6deaba5656f65094302d2e3d8bbbd33777b24065 100644 |
--- a/base/message_loop/incoming_task_queue.cc |
+++ b/base/message_loop/incoming_task_queue.cc |
@@ -104,7 +104,7 @@ int IncomingTaskQueue::ReloadWorkQueue(TaskQueue* work_queue) { |
// incoming queue becomes nonempty we need to schedule it again. |
message_loop_scheduled_ = false; |
} else { |
- incoming_queue_.Swap(work_queue); |
+ incoming_queue_.swap(*work_queue); |
} |
// Reset the count of high resolution tasks since our queue is now empty. |
int high_res_tasks = high_res_task_count_; |