diff options
author | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-27 04:23:22 +0000 |
---|---|---|
committer | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-27 04:23:22 +0000 |
commit | 6ebe3fc0530639459b70413724db71f734c99422 (patch) | |
tree | f3f97bd87002d8b27ad7ec3bc2ba7208439d9c0e /base/message_loop.cc | |
parent | bae6bacdb21be60714c634fcb4559fc82d513232 (diff) | |
download | chromium_src-6ebe3fc0530639459b70413724db71f734c99422.zip chromium_src-6ebe3fc0530639459b70413724db71f734c99422.tar.gz chromium_src-6ebe3fc0530639459b70413724db71f734c99422.tar.bz2 |
Re-enable DeletePendingTasks. We need this to plug memory leaks in the unit
tests.
TBR=abarth
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1427 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop.cc')
-rw-r--r-- | base/message_loop.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/base/message_loop.cc b/base/message_loop.cc index cd44b92..28a1866 100644 --- a/base/message_loop.cc +++ b/base/message_loop.cc @@ -341,7 +341,6 @@ void MessageLoop::ReloadWorkQueue() { } void MessageLoop::DeletePendingTasks() { - /* Comment this out as it's causing crashes. while (!work_queue_.Empty()) { Task* task = work_queue_.Pop(); if (task->is_owned_by_message_loop()) @@ -353,7 +352,6 @@ void MessageLoop::DeletePendingTasks() { if (task->is_owned_by_message_loop()) delete task; } - */ } void MessageLoop::DidChangeNextTimerExpiry() { |