Index: components/storage_monitor/media_storage_util_unittest.cc |
diff --git a/components/storage_monitor/media_storage_util_unittest.cc b/components/storage_monitor/media_storage_util_unittest.cc |
index a63126465f9b4fd0f658fe8a0558a26e0136dd7f..5b895a8701d46f51fd835b9b89c801037aa1537c 100644 |
--- a/components/storage_monitor/media_storage_util_unittest.cc |
+++ b/components/storage_monitor/media_storage_util_unittest.cc |
@@ -52,12 +52,12 @@ class MediaStorageUtilTest : public testing::Test { |
protected: |
// Create mount point for the test device. |
base::FilePath CreateMountPoint(bool create_dcim_dir) { |
- base::FilePath path(scoped_temp_dir_.path()); |
+ base::FilePath path(scoped_temp_dir_.GetPath()); |
if (create_dcim_dir) |
path = path.Append(kDCIMDirectoryName); |
if (!base::CreateDirectory(path)) |
return base::FilePath(); |
- return scoped_temp_dir_.path(); |
+ return scoped_temp_dir_.GetPath(); |
} |
void SetUp() override { |