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

Unified Diff: chrome/browser/ui/browser_browsertest.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: chrome/browser/ui/browser_browsertest.cc
diff --git a/chrome/browser/ui/browser_browsertest.cc b/chrome/browser/ui/browser_browsertest.cc
index 54a017450f6d2e1e08e6f5636400af9ac4de95cb..a73061d620b38bc77e5b3621a083d297f0845a77 100644
--- a/chrome/browser/ui/browser_browsertest.cc
+++ b/chrome/browser/ui/browser_browsertest.cc
@@ -2159,7 +2159,7 @@ class LaunchBrowserWithNonAsciiUserDatadir : public BrowserTest {
void SetUpCommandLine(base::CommandLine* command_line) override {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
- base::FilePath tmp_profile = temp_dir_.path().AppendASCII("tmp_profile");
+ base::FilePath tmp_profile = temp_dir_.GetPath().AppendASCII("tmp_profile");
tmp_profile = tmp_profile.Append(L"Test Chrome G\u00E9raldine");
ASSERT_TRUE(base::CreateDirectory(tmp_profile));
@@ -2190,7 +2190,7 @@ class LaunchBrowserWithTrailingSlashDatadir : public BrowserTest {
void SetUpCommandLine(base::CommandLine* command_line) override {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
- base::FilePath tmp_profile = temp_dir_.path().AppendASCII("tmp_profile");
+ base::FilePath tmp_profile = temp_dir_.GetPath().AppendASCII("tmp_profile");
tmp_profile = tmp_profile.Append(L"Test Chrome\\");
ASSERT_TRUE(base::CreateDirectory(tmp_profile));

Powered by Google App Engine
This is Rietveld 408576698