Index: chrome/browser/notifications/notification_ui_manager.cc |
diff --git a/chrome/browser/notifications/notification_ui_manager.cc b/chrome/browser/notifications/notification_ui_manager.cc |
index 19e6c242d0ba1d99fff69808727fa782338d515e..d6c0f0f0aa33b36b932c0918bf5bf5f991615e1b 100644 |
--- a/chrome/browser/notifications/notification_ui_manager.cc |
+++ b/chrome/browser/notifications/notification_ui_manager.cc |
@@ -25,7 +25,6 @@ bool NotificationUIManager::DelegatesToMessageCenter() { |
return message_center::IsRichNotificationEnabled(); |
} |
-#if !defined(OS_MACOSX) |
// static |
NotificationUIManager* NotificationUIManager::Create(PrefService* local_state) { |
if (DelegatesToMessageCenter()) { |
@@ -39,9 +38,13 @@ NotificationUIManager* NotificationUIManager::Create(PrefService* local_state) { |
settings_provider.Pass()); |
} |
+#if defined(OS_MACOSX) |
+ NOTREACHED(); |
+ return NULL; |
+#else |
BalloonNotificationUIManager* balloon_manager = |
new BalloonNotificationUIManager(local_state); |
balloon_manager->SetBalloonCollection(BalloonCollection::Create()); |
return balloon_manager; |
-} |
#endif |
+} |