summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc')
-rw-r--r--chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc b/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc
index 5f309c7..d726218 100644
--- a/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc
+++ b/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc
@@ -393,9 +393,8 @@ void AutomaticRebootManagerBasicTest::SetRebootAfterUpdate(
bool reboot_after_update,
bool expect_reboot) {
reboot_after_update_ = reboot_after_update;
- local_state_.SetManagedPref(
- prefs::kRebootAfterUpdate,
- base::Value::CreateBooleanValue(reboot_after_update));
+ local_state_.SetManagedPref(prefs::kRebootAfterUpdate,
+ new base::FundamentalValue(reboot_after_update));
task_runner_->RunUntilIdle();
EXPECT_EQ(expect_reboot ? 1 : 0,
power_manager_client_->num_request_restart_calls());