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

Unified Diff: chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.h

Issue 572853002: Realigning the WeakPtrFactory initialization order in chrome/ui folder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed mac error Created 6 years, 3 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/ui/cocoa/notifications/message_center_tray_bridge.h
diff --git a/chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.h b/chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.h
index 77da69f86fa78cbb18f891b18c1c79a48b84b207..6f9fcc9076ae8b332a21e615a6ba0538f123f1c6 100644
--- a/chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.h
+++ b/chrome/browser/ui/cocoa/notifications/message_center_tray_bridge.h
@@ -77,13 +77,13 @@ class MessageCenterTrayBridge :
// Obj-C controller for the on-screen popup notifications.
base::scoped_nsobject<MCPopupCollection> popup_collection_;
- // Weak pointer factory to posts tasks to self.
- base::WeakPtrFactory<MessageCenterTrayBridge> weak_ptr_factory_;
-
// A PrefMember that calls OnShowStatusItemChanged when the pref is updated
// by the user's selection in the main menu.
BooleanPrefMember show_status_item_;
+ // Weak pointer factory to posts tasks to self.
+ base::WeakPtrFactory<MessageCenterTrayBridge> weak_ptr_factory_;
+
DISALLOW_COPY_AND_ASSIGN(MessageCenterTrayBridge);
};
« no previous file with comments | « chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm ('k') | chrome/browser/ui/cocoa/status_bubble_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698