diff options
author | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-09 05:55:35 +0000 |
---|---|---|
committer | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-09 05:55:35 +0000 |
commit | 08de3cde4d95e9c962aee2386d7297d561404513 (patch) | |
tree | e651002716949f84f3a6555166e33c6e9cb7034f /base/message_loop.h | |
parent | 166020bd7aade44caeaefd67422b6162172a8956 (diff) | |
download | chromium_src-08de3cde4d95e9c962aee2386d7297d561404513.zip chromium_src-08de3cde4d95e9c962aee2386d7297d561404513.tar.gz chromium_src-08de3cde4d95e9c962aee2386d7297d561404513.tar.bz2 |
rollback r1891
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1892 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop.h')
-rw-r--r-- | base/message_loop.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/base/message_loop.h b/base/message_loop.h index 9343c4e..53c832a 100644 --- a/base/message_loop.h +++ b/base/message_loop.h @@ -322,9 +322,8 @@ class MessageLoop : public base::MessagePump::Delegate { void ReloadWorkQueue(); // Delete tasks that haven't run yet without running them. Used in the - // destructor to make sure all the task's destructors get called. Returns - // true if some work was done. - bool DeletePendingTasks(); + // destructor to make sure all the task's destructors get called. + void DeletePendingTasks(); // Post a task to our incomming queue. void PostTask_Helper(const tracked_objects::Location& from_here, Task* task, @@ -365,7 +364,6 @@ class MessageLoop : public base::MessagePump::Delegate { scoped_refptr<base::MessagePump> pump_; ObserverList<DestructionObserver> destruction_observers_; - // A recursion block that prevents accidentally running additonal tasks when // insider a (accidentally induced?) nested message pump. bool nestable_tasks_allowed_; |