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

Unified Diff: chrome/browser/notifications/message_center_notification_manager.cc

Issue 1103713003: win: Move a few WeakPtrFactories to the end of their containing classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
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 5e7802d4edf8e2d1e8f9adc2eb3a787afec20def..4c755f0d17b0766e99e09d663424aaa232e3858f 100644
--- a/chrome/browser/notifications/message_center_notification_manager.cc
+++ b/chrome/browser/notifications/message_center_notification_manager.cc
@@ -59,12 +59,16 @@ MessageCenterNotificationManager::MessageCenterNotificationManager(
#if defined(OS_WIN)
first_run_idle_timeout_(
base::TimeDelta::FromSeconds(kFirstRunIdleDelaySeconds)),
- weak_factory_(this),
#endif
settings_provider_(settings_provider.Pass()),
system_observer_(this),
stats_collector_(message_center),
- google_now_stats_collector_(message_center) {
+ google_now_stats_collector_(message_center)
+#if defined(OS_WIN)
+ ,
+ weak_factory_(this)
+#endif
+{
#if defined(OS_WIN)
first_run_pref_.Init(prefs::kMessageCenterShowedFirstRunBalloon, local_state);
#endif

Powered by Google App Engine
This is Rietveld 408576698