Index: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc |
diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc |
index 1696b14f8ffc87853098d42969eea291e7ecdad9..4445d3ec1b98f5948f2719f78f87a00660c03fc7 100644 |
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc |
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc |
@@ -185,8 +185,7 @@ void OnAcceptMultiprofilesIntro(bool no_show_again) { |
} // namespace |
SystemTrayDelegateChromeOS::SystemTrayDelegateChromeOS() |
- : weak_ptr_factory_(this), |
- user_profile_(NULL), |
+ : user_profile_(NULL), |
clock_type_(base::GetHourClockType()), |
search_key_mapped_to_(input_method::kSearchKey), |
screen_locked_(false), |
@@ -197,7 +196,8 @@ SystemTrayDelegateChromeOS::SystemTrayDelegateChromeOS() |
device_settings_observer_(CrosSettings::Get()->AddSettingsObserver( |
kSystemUse24HourClock, |
base::Bind(&SystemTrayDelegateChromeOS::UpdateClockType, |
- base::Unretained(this)))) { |
+ base::Unretained(this)))), |
+ weak_ptr_factory_(this) { |
// Register notifications on construction so that events such as |
// PROFILE_CREATED do not get missed if they happen before Initialize(). |
registrar_.reset(new content::NotificationRegistrar); |