Index: chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc |
diff --git a/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc b/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc |
index ad1661329ae947e05636a375ea0f2f4bd72803e4..fc0d65d8d4e46963b18cb91a39382f63804f6b82 100644 |
--- a/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc |
+++ b/chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc |
@@ -316,7 +316,7 @@ AutomaticRebootManagerBasicTest::~AutomaticRebootManagerBasicTest() { |
void AutomaticRebootManagerBasicTest::SetUp() { |
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); |
- const base::FilePath& temp_dir = temp_dir_.path(); |
+ const base::FilePath& temp_dir = temp_dir_.GetPath(); |
const base::FilePath uptime_file = temp_dir.Append("uptime"); |
uptime_provider()->set_uptime_file_path(uptime_file); |
ASSERT_FALSE(base::WriteFile(uptime_file, NULL, 0)); |