Index: base/message_loop.cc |
=================================================================== |
--- base/message_loop.cc (revision 179209) |
+++ base/message_loop.cc (working copy) |
@@ -251,12 +251,9 @@ |
} |
// static |
-bool MessageLoop::InitMessagePumpForUIFactory(MessagePumpFactory* factory) { |
- if (message_pump_for_ui_factory_) |
- return false; |
- |
+void MessageLoop::InitMessagePumpForUIFactory(MessagePumpFactory* factory) { |
+ DCHECK(!message_pump_for_ui_factory_); |
message_pump_for_ui_factory_ = factory; |
- return true; |
} |
void MessageLoop::AddDestructionObserver( |