summaryrefslogtreecommitdiffstats
path: root/base/message_loop.cc
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-10 01:16:17 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-10 01:16:17 +0000
commit058bccbd4f46b18eed7303f5ad92acd004bb17f9 (patch)
tree31d43eb0d04b5d24ceadabbbb144c57a1763c646 /base/message_loop.cc
parent327a4c2ea6c55b8ba91e737db607fa0f4b82e5c9 (diff)
downloadchromium_src-058bccbd4f46b18eed7303f5ad92acd004bb17f9.zip
chromium_src-058bccbd4f46b18eed7303f5ad92acd004bb17f9.tar.gz
chromium_src-058bccbd4f46b18eed7303f5ad92acd004bb17f9.tar.bz2
Fix the GCC build.
TBR=mmentovai Review URL: http://codereview.chromium.org/1687 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1962 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop.cc')
-rw-r--r--base/message_loop.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/message_loop.cc b/base/message_loop.cc
index 122bd06..e90f0b2 100644
--- a/base/message_loop.cc
+++ b/base/message_loop.cc
@@ -337,9 +337,9 @@ bool MessageLoop::DeletePendingTasks() {
}
did_work |= !deferred_non_nestable_work_queue_.empty();
while (!deferred_non_nestable_work_queue_.empty()) {
- Task* task = deferred_non_nestable_work_queue_.front().task;
- deferred_non_nestable_work_queue_.pop();
// TODO(darin): Delete all tasks once it is safe to do so.
+ //Task* task = deferred_non_nestable_work_queue_.front().task;
+ deferred_non_nestable_work_queue_.pop();
//delete task;
}
did_work |= !delayed_work_queue_.empty();