summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/chromeos/system/ash_system_tray_delegate.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
index 9208c7d..4a71537 100644
--- a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
+++ b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
@@ -649,8 +649,9 @@ class SystemTrayDelegate : public ash::SystemTrayDelegate,
DBusThreadManager::Get()->GetSessionManagerClient()->RequestLockScreen();
}
- virtual void RequestRestart() OVERRIDE {
- DBusThreadManager::Get()->GetPowerManagerClient()->RequestRestart();
+ virtual void RequestRestartForUpdate() OVERRIDE {
+ // We expect that UpdateEngine is in "Reboot for update" state now.
+ chrome::NotifyAndTerminate(true /* fast path */);
}
virtual void GetAvailableBluetoothDevices(