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

Unified Diff: content/public/test/async_file_test_helper.cc

Issue 2316043002: //content: 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
« no previous file with comments | « content/browser/shareable_file_reference_unittest.cc ('k') | content/public/test/test_browser_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/async_file_test_helper.cc
diff --git a/content/public/test/async_file_test_helper.cc b/content/public/test/async_file_test_helper.cc
index 345bc91ce9f75820a72e5a8ef16355b832354f2a..b5e205a8320d05a3a0a29f4a1884f4642ff91245 100644
--- a/content/public/test/async_file_test_helper.cc
+++ b/content/public/test/async_file_test_helper.cc
@@ -186,7 +186,7 @@ base::File::Error AsyncFileTestHelper::CreateFileWithData(
base::ScopedTempDir dir;
if (!dir.CreateUniqueTempDir())
return base::File::FILE_ERROR_FAILED;
- base::FilePath local_path = dir.path().AppendASCII("tmp");
+ base::FilePath local_path = dir.GetPath().AppendASCII("tmp");
if (buf_size != base::WriteFile(local_path, buf, buf_size))
return base::File::FILE_ERROR_FAILED;
base::File::Error result = base::File::FILE_ERROR_FAILED;
« no previous file with comments | « content/browser/shareable_file_reference_unittest.cc ('k') | content/public/test/test_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698