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

Unified Diff: components/nacl/browser/pnacl_host.cc

Issue 99923002: Move temp file functions to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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/nacl/browser/pnacl_host.cc
diff --git a/components/nacl/browser/pnacl_host.cc b/components/nacl/browser/pnacl_host.cc
index 2ed4d5d4aa0b02acbc734c8b87e8d6c24102e9d1..6344b3b2319e33b35fff69185390cc132bb9138b 100644
--- a/components/nacl/browser/pnacl_host.cc
+++ b/components/nacl/browser/pnacl_host.cc
@@ -136,8 +136,8 @@ void PnaclHost::DoCreateTemporaryFile(base::FilePath temp_dir,
base::FilePath file_path;
base::PlatformFile file_handle(base::kInvalidPlatformFileValue);
bool rv = temp_dir.empty()
- ? file_util::CreateTemporaryFile(&file_path)
- : file_util::CreateTemporaryFileInDir(temp_dir, &file_path);
+ ? base::CreateTemporaryFile(&file_path)
+ : base::CreateTemporaryFileInDir(temp_dir, &file_path);
if (!rv) {
PLOG(ERROR) << "Temp file creation failed.";
} else {
« no previous file with comments | « components/breakpad/browser/crash_dump_manager_android.cc ('k') | components/visitedlink/test/visitedlink_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698