Index: components/storage_monitor/test_volume_mount_watcher_win.cc |
diff --git a/components/storage_monitor/test_volume_mount_watcher_win.cc b/components/storage_monitor/test_volume_mount_watcher_win.cc |
index c847ad2a586dd923e6fbca02df22e2571a9e21b5..115054aab6da26f702081575027c16fe5e047674 100644 |
--- a/components/storage_monitor/test_volume_mount_watcher_win.cc |
+++ b/components/storage_monitor/test_volume_mount_watcher_win.cc |
@@ -21,7 +21,7 @@ namespace { |
base::FilePath GetTempRoot() { |
base::ScopedTempDir temp_dir; |
EXPECT_TRUE(temp_dir.CreateUniqueTempDir()); |
- base::FilePath temp_root = temp_dir.path(); |
+ base::FilePath temp_root = temp_dir.GetPath(); |
while (temp_root.DirName() != temp_root) |
temp_root = temp_root.DirName(); |
return temp_root; |