Index: chrome/browser/notifications/message_center_notification_manager.cc |
diff --git a/chrome/browser/notifications/message_center_notification_manager.cc b/chrome/browser/notifications/message_center_notification_manager.cc |
index 1905b829908e0a65d5853a9f37141bd043d80ef1..01ffa5a8429b6ea9db78e39e01d4155e4e49a9d5 100644 |
--- a/chrome/browser/notifications/message_center_notification_manager.cc |
+++ b/chrome/browser/notifications/message_center_notification_manager.cc |
@@ -29,9 +29,9 @@ MessageCenterNotificationManager::MessageCenterNotificationManager( |
message_center_->SetDelegate(this); |
message_center_->AddObserver(this); |
-#if !defined(OS_CHROMEOS) |
- // On Windows, the notification manager owns the tray icon and views. Other |
- // platforms have global ownership and Create will return NULL. |
+#if defined(OS_WIN) || defined(OS_MACOSX) |
+ // On Windows and Mac, the notification manager owns the tray icon and views. |
+ // Other platforms have global ownership and Create will return NULL. |
tray_.reset(message_center::CreateMessageCenterTray()); |
#endif |
} |