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

Unified Diff: chrome/browser/cocoa/chrome_event_processing_window.mm

Issue 434120: Mac: improve apparent z-order problems when switching Spaces. (Closed)
Patch Set: Updated per pink's review. Created 11 years, 1 month 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 | chrome/browser/cocoa/status_bubble_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/chrome_event_processing_window.mm
diff --git a/chrome/browser/cocoa/chrome_event_processing_window.mm b/chrome/browser/cocoa/chrome_event_processing_window.mm
index 99ed6af5e6e9e4f1bcb5f5fc1e92289d1690ef5f..da23e7e8fe897f7309913144f2e2414561848ae6 100644
--- a/chrome/browser/cocoa/chrome_event_processing_window.mm
+++ b/chrome/browser/cocoa/chrome_event_processing_window.mm
@@ -69,7 +69,7 @@ typedef int (*KeyToCommandMapper)(bool, bool, bool, bool, int);
- (BOOL)redispatchEvent:(NSEvent*)event {
DCHECK(event);
- DCHECK([event window] == self);
+ DCHECK_EQ([event window], self);
eventHandled_ = YES;
redispatchingEvent_ = YES;
[NSApp sendEvent:event];
« no previous file with comments | « no previous file | chrome/browser/cocoa/status_bubble_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698