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

Unified Diff: base/test/launcher/test_launcher_ios.cc

Issue 2275553005: //base: Make ScopedTempDir::path() a GetPath() with a DCHECK (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a hint to the DCHECK 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: base/test/launcher/test_launcher_ios.cc
diff --git a/base/test/launcher/test_launcher_ios.cc b/base/test/launcher/test_launcher_ios.cc
index 9be26fe583196f4f91861ba1617e63c730852c1c..e532078794f453ee79848d0ce1c2ca36639e772c 100644
--- a/base/test/launcher/test_launcher_ios.cc
+++ b/base/test/launcher/test_launcher_ios.cc
@@ -94,7 +94,7 @@ class IOSUnitTestPlatformDelegate : public base::UnitTestPlatformDelegate {
if (!temp_dir.CreateUniqueTempDirUnderPath(writable_path_))
return false;
base::FilePath test_list_path(
- temp_dir.path().AppendASCII("test_list.json"));
+ temp_dir.GetPath().AppendASCII("test_list.json"));
base::CommandLine cmd_line(dir_exe_.AppendASCII(test_name_ + ".app"));
cmd_line.AppendSwitchPath(switches::kTestLauncherListTests, test_list_path);

Powered by Google App Engine
This is Rietveld 408576698