Index: chrome/browser/chromeos/policy/remote_commands/device_command_reboot_job.cc |
diff --git a/chrome/browser/chromeos/policy/remote_commands/device_command_reboot_job.cc b/chrome/browser/chromeos/policy/remote_commands/device_command_reboot_job.cc |
index 587b1b6df6803b322f1e6599c987171600fa19b5..44b74b66c81004eaedb24de8eb7497ba6f4802b7 100644 |
--- a/chrome/browser/chromeos/policy/remote_commands/device_command_reboot_job.cc |
+++ b/chrome/browser/chromeos/policy/remote_commands/device_command_reboot_job.cc |
@@ -55,8 +55,7 @@ void DeviceCommandRebootJob::RunImpl( |
const CallbackWithResult& failed_callback) { |
// Determines the time delta between the command having been issued and the |
// boot time of the system. |
- const base::TimeDelta uptime = |
- base::TimeDelta::FromMilliseconds(base::SysInfo::Uptime()); |
+ const base::TimeDelta uptime = base::SysInfo::Uptime(); |
const base::TimeTicks boot_time = base::TimeTicks::Now() - uptime; |
const base::TimeDelta delta = boot_time - issued_time(); |
// If the reboot command was issued before the system booted, we inform the |