Index: base/message_loop/message_loop.cc |
diff --git a/base/message_loop/message_loop.cc b/base/message_loop/message_loop.cc |
index cfa86d98ce4351137eb9d222af17ed5e7fc30780..d79b26eed2926dad0c70cc562a4a69efbeddca69 100644 |
--- a/base/message_loop/message_loop.cc |
+++ b/base/message_loop/message_loop.cc |
@@ -135,7 +135,7 @@ MessageLoop::MessageLoop(scoped_ptr<MessagePump> pump) |
MessageLoop::~MessageLoop() { |
// current() could be NULL if this message loop is destructed before it is |
// bound to a thread. |
- DCHECK(current() == this || !current()); |
+ DCHECK(current() == this || !pump_); |
danakj
2016/01/05 19:40:15
This no longer captures that current() is either |
Sami
2016/01/06 10:56:19
You're right, I just noticed the same thing while
|
// iOS just attaches to the loop, it doesn't Run it. |
// TODO(stuartmorgan): Consider wiring up a Detach(). |