Index: base/message_pump_x.cc |
diff --git a/base/message_pump_x.cc b/base/message_pump_x.cc |
index 171d5bdcade86f961a5a2262ce9f11f2d8c6505b..a9648dfcf6a488e28d03ad05c813409abb7d23e1 100644 |
--- a/base/message_pump_x.cc |
+++ b/base/message_pump_x.cc |
@@ -144,13 +144,12 @@ bool MessagePumpX::ProcessXEvent(MessagePumpDispatcher* dispatcher, |
} |
if (!WillProcessXEvent(xev)) { |
- MessagePumpDispatcher::DispatchStatus status = |
- dispatcher->Dispatch(xev); |
+ DispatchStatus status = dispatcher->Dispatch(xev); |
- if (status == MessagePumpDispatcher::EVENT_QUIT) { |
+ if (status == EVENT_QUIT) { |
should_quit = true; |
Quit(); |
- } else if (status == MessagePumpDispatcher::EVENT_IGNORED) { |
+ } else if (status == EVENT_IGNORED) { |
DVLOG(1) << "Event (" << xev->type << ") not handled."; |
} |
DidProcessXEvent(xev); |