| Index: chrome/browser/chromeos/profile_startup.cc
|
| ===================================================================
|
| --- chrome/browser/chromeos/profile_startup.cc (revision 144827)
|
| +++ chrome/browser/chromeos/profile_startup.cc (working copy)
|
| @@ -33,8 +33,8 @@
|
| if (process_startup) {
|
| // These observers are singletons. They are never deleted but the pointers
|
| // are kept in a statics so that they are not reported as leaks.
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| - ash::switches::kAshNotifyDisabled)) {
|
| + if (!CommandLine::ForCurrentProcess()->HasSwitch(
|
| + ash::switches::kAshNotify)) {
|
| static chromeos::LowBatteryObserver* low_battery_observer =
|
| new chromeos::LowBatteryObserver(profile);
|
| chromeos::DBusThreadManager::Get()->GetPowerManagerClient()->AddObserver(
|
|
|