Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(894)

Unified Diff: base/message_pump_x.cc

Issue 9958152: Consolidate win/x dispatchers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698