Index: chrome/browser/notifications/message_center_notification_manager.h |
diff --git a/chrome/browser/notifications/message_center_notification_manager.h b/chrome/browser/notifications/message_center_notification_manager.h |
index 2806ef50489f8be2ba4e26225d762de8caa7b141..986f9cc1c1e2ce157f4944fe09af0e3958f86a87 100644 |
--- a/chrome/browser/notifications/message_center_notification_manager.h |
+++ b/chrome/browser/notifications/message_center_notification_manager.h |
@@ -138,9 +138,6 @@ class MessageCenterNotificationManager |
// The first-run balloon will be shown |first_run_idle_timeout_| after all |
// popups go away and the user has notifications in the message center. |
base::TimeDelta first_run_idle_timeout_; |
- |
- // Provides weak pointers for the purpose of the first run timer. |
- base::WeakPtrFactory<MessageCenterNotificationManager> weak_factory_; |
#endif |
scoped_ptr<message_center::NotifierSettingsProvider> settings_provider_; |
@@ -156,6 +153,11 @@ class MessageCenterNotificationManager |
// Keeps track of notifications specific to Google Now for UMA purposes. |
GoogleNowNotificationStatsCollector google_now_stats_collector_; |
+#if defined(OS_WIN) |
+ // Provides weak pointers for the purpose of the first run timer. |
+ base::WeakPtrFactory<MessageCenterNotificationManager> weak_factory_; |
+#endif |
+ |
DISALLOW_COPY_AND_ASSIGN(MessageCenterNotificationManager); |
}; |