| Index: components/storage_monitor/image_capture_device_manager_unittest.mm
|
| diff --git a/components/storage_monitor/image_capture_device_manager_unittest.mm b/components/storage_monitor/image_capture_device_manager_unittest.mm
|
| index 22a07ded33de6f4764c0660ea6e983abd8bcadbd..09dd75f50b516890fef723127a7f3407d37602bc 100644
|
| --- a/components/storage_monitor/image_capture_device_manager_unittest.mm
|
| +++ b/components/storage_monitor/image_capture_device_manager_unittest.mm
|
| @@ -358,7 +358,7 @@ TEST_F(ImageCaptureDeviceManagerTest, DownloadFile) {
|
|
|
| // Test that a nonexistent file we ask to be downloaded will
|
| // return us a not-found error.
|
| - base::FilePath temp_file = temp_dir.path().Append("tempfile");
|
| + base::FilePath temp_file = temp_dir.GetPath().Append("tempfile");
|
| [camera downloadFile:std::string("nonexistent") localPath:temp_file];
|
| base::RunLoop().RunUntilIdle();
|
| ASSERT_EQ(1U, listener_.downloads().size());
|
| @@ -405,7 +405,7 @@ TEST_F(ImageCaptureDeviceManagerTest, TestSubdirectories) {
|
|
|
| base::ScopedTempDir temp_dir;
|
| ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
|
| - base::FilePath temp_file = temp_dir.path().Append("tempfile");
|
| + base::FilePath temp_file = temp_dir.GetPath().Append("tempfile");
|
|
|
| [camera downloadFile:("dir/" + kTestFileName) localPath:temp_file];
|
| base::RunLoop().RunUntilIdle();
|
|
|