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

Unified Diff: chrome/browser/ui/cocoa/status_bubble_mac.mm

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/status_bubble_mac.mm
diff --git a/chrome/browser/ui/cocoa/status_bubble_mac.mm b/chrome/browser/ui/cocoa/status_bubble_mac.mm
index ddf00ace198ee221a7d3f76e1661053113d40bcc..6fcbc2f8c6ab2164b7206ab36ffe48f965b559e6 100644
--- a/chrome/browser/ui/cocoa/status_bubble_mac.mm
+++ b/chrome/browser/ui/cocoa/status_bubble_mac.mm
@@ -143,17 +143,17 @@ const CGFloat kExpansionDurationSeconds = 0.125;
@end
StatusBubbleMac::StatusBubbleMac(NSWindow* parent, id delegate)
- : timer_factory_(this),
- expand_timer_factory_(this),
- completion_handler_factory_(this),
- parent_(parent),
+ : parent_(parent),
delegate_(delegate),
window_(nil),
status_text_(nil),
url_text_(nil),
state_(kBubbleHidden),
immediate_(false),
- is_expanded_(false) {
+ is_expanded_(false),
+ timer_factory_(this),
+ expand_timer_factory_(this),
+ completion_handler_factory_(this) {
Create();
Attach();
}
« no previous file with comments | « chrome/browser/ui/cocoa/status_bubble_mac.h ('k') | chrome/browser/ui/webui/chromeos/login/kiosk_app_menu_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698