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

Unified Diff: base/message_pump_x.cc

Issue 8769049: Fix MessagePumpX::ProcessXEvent checking of WillProcessXEvent return value. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_pump_x.cc
diff --git a/base/message_pump_x.cc b/base/message_pump_x.cc
index 8a253df9e3a14f7eced3164906782575e3c0631c..53c6d72b57389255b194b42f3f65c28a7d7de30a 100644
--- a/base/message_pump_x.cc
+++ b/base/message_pump_x.cc
@@ -142,7 +142,7 @@ bool MessagePumpX::ProcessXEvent(MessagePumpDispatcher* dispatcher,
have_cookie = true;
}
- if (WillProcessXEvent(xev) == EVENT_CONTINUE) {
+ if (!WillProcessXEvent(xev)) {
MessagePumpDispatcher::DispatchStatus status =
dispatcher->Dispatch(xev);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698