Index: chrome/browser/chromeos/system/automatic_reboot_manager.h |
diff --git a/chrome/browser/chromeos/system/automatic_reboot_manager.h b/chrome/browser/chromeos/system/automatic_reboot_manager.h |
index 638c9ace6e306fc0a0b25fd80e783fcadcb753ff..b698e1123da1274802d38b1b8ce027038c10da75 100644 |
--- a/chrome/browser/chromeos/system/automatic_reboot_manager.h |
+++ b/chrome/browser/chromeos/system/automatic_reboot_manager.h |
@@ -90,7 +90,7 @@ class AutomaticRebootManager : public PowerManagerClient::Observer, |
base::TimeTicks update_reboot_needed_time; |
}; |
- explicit AutomaticRebootManager(scoped_ptr<base::TickClock> clock); |
+ explicit AutomaticRebootManager(const scoped_refptr<base::TickClock>& clock); |
virtual ~AutomaticRebootManager(); |
void AddObserver(AutomaticRebootManagerObserver* observer); |
@@ -137,7 +137,7 @@ class AutomaticRebootManager : public PowerManagerClient::Observer, |
void Reboot(); |
// A clock that can be mocked in tests to fast-forward time. |
- scoped_ptr<base::TickClock> clock_; |
+ scoped_refptr<base::TickClock> clock_; |
PrefChangeRegistrar local_state_registrar_; |