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 | |