Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Unified Diff: components/storage_monitor/test_volume_mount_watcher_win.cc

Issue 2321453002: c/browser, c/common, components S-W: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Just rebased Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698