summaryrefslogtreecommitdiffstats
path: root/base/message_loop.cc
diff options
context:
space:
mode:
authordarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-27 05:29:40 +0000
committerdarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-27 05:29:40 +0000
commit3b7585030c8415ce9ddf17abf38134765c80c1f5 (patch)
tree728162c60027dffb1946f5310186da1f3e230868 /base/message_loop.cc
parentb1d1c87e0639f237d9d19a4f3bc599a00121b89f (diff)
downloadchromium_src-3b7585030c8415ce9ddf17abf38134765c80c1f5.zip
chromium_src-3b7585030c8415ce9ddf17abf38134765c80c1f5.tar.gz
chromium_src-3b7585030c8415ce9ddf17abf38134765c80c1f5.tar.bz2
rollback r1427 to attempt to fix test failures
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1429 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop.cc')
-rw-r--r--base/message_loop.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/message_loop.cc b/base/message_loop.cc
index 28a1866..cd44b92 100644
--- a/base/message_loop.cc
+++ b/base/message_loop.cc
@@ -341,6 +341,7 @@ 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())
@@ -352,6 +353,7 @@ void MessageLoop::DeletePendingTasks() {
if (task->is_owned_by_message_loop())
delete task;
}
+ */
}
void MessageLoop::DidChangeNextTimerExpiry() {