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

Unified Diff: ui/message_center/cocoa/tray_controller.mm

Issue 684273002: Remove last non-third_party typeofs on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « ppapi/tests/test_broker.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/cocoa/tray_controller.mm
diff --git a/ui/message_center/cocoa/tray_controller.mm b/ui/message_center/cocoa/tray_controller.mm
index 672525f29dc5da402326f6964b9210474a9c022a..ddbdcc77cdc63bf57badbef9480cd150c539271a 100644
--- a/ui/message_center/cocoa/tray_controller.mm
+++ b/ui/message_center/cocoa/tray_controller.mm
@@ -52,7 +52,7 @@
// The global event monitor will close the tray in response to events
// delivered to other applications, and -windowDidResignKey: will catch
// events within the application.
- __block typeof(self) weakSelf = self;
+ __block MCTrayController* weakSelf = self;
clickEventMonitor_ =
[NSEvent addGlobalMonitorForEventsMatchingMask:NSLeftMouseDownMask |
NSRightMouseDownMask |
« no previous file with comments | « ppapi/tests/test_broker.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698