summaryrefslogtreecommitdiffstats
path: root/base/message_loop.h
diff options
context:
space:
mode:
authorjar@google.com <jar@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-03 20:26:26 +0000
committerjar@google.com <jar@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-03 20:26:26 +0000
commitb87b790c325d2d243344280ebba1fc2a89799d11 (patch)
tree6081abefedb0ee01e7a71262dc804b2226ddf4d5 /base/message_loop.h
parent0ee1cb3b9c148d17b9181164f911fc8b949f6bdc (diff)
downloadchromium_src-b87b790c325d2d243344280ebba1fc2a89799d11.zip
chromium_src-b87b790c325d2d243344280ebba1fc2a89799d11.tar.gz
chromium_src-b87b790c325d2d243344280ebba1fc2a89799d11.tar.bz2
Rollback message loop test
TBR git-svn-id: svn://svn.chromium.org/chrome/trunk/src@299 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop.h')
-rw-r--r--base/message_loop.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/base/message_loop.h b/base/message_loop.h
index 8d5644329..1610d07 100644
--- a/base/message_loop.h
+++ b/base/message_loop.h
@@ -353,8 +353,7 @@ class MessageLoop {
quit_now_(loop->quit_now_),
quit_received_(loop->quit_received_),
run_depth_(loop->run_depth_) {
- loop->quit_now_ = false;
- loop->quit_received_ = 0;
+ loop->quit_now_ = loop->quit_received_ = false;
++loop->run_depth_;
}
@@ -369,7 +368,7 @@ class MessageLoop {
MessageLoop* loop_;
Dispatcher* dispatcher_;
bool quit_now_;
- int quit_received_;
+ bool quit_received_;
int run_depth_;
}; // struct ScopedStateSave
@@ -587,8 +586,8 @@ class MessageLoop {
bool exception_restoration_;
Dispatcher* dispatcher_;
- int quit_received_; // The number of kQuitMsg's processed during run.
- bool quit_now_; // A dispatcher indicated the message pump should terminate.
+ bool quit_received_;
+ bool quit_now_;
std::string thread_name_;
// A profiling histogram showing the counts of various messages and events.