summaryrefslogtreecommitdiffstats
path: root/content/browser/download/base_file.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/download/base_file.cc')
-rw-r--r--content/browser/download/base_file.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/download/base_file.cc b/content/browser/download/base_file.cc
index 90ab485..a1ba735 100644
--- a/content/browser/download/base_file.cc
+++ b/content/browser/download/base_file.cc
@@ -82,8 +82,8 @@ DownloadInterruptReason BaseFile::Initialize(
// |initial_directory| can still be empty if ContentBrowserClient returned
// an empty path for the downloads directory.
if ((initial_directory.empty() ||
- !file_util::CreateTemporaryFileInDir(initial_directory, &temp_file)) &&
- !file_util::CreateTemporaryFile(&temp_file)) {
+ !base::CreateTemporaryFileInDir(initial_directory, &temp_file)) &&
+ !base::CreateTemporaryFile(&temp_file)) {
return LogInterruptReason("Unable to create", 0,
DOWNLOAD_INTERRUPT_REASON_FILE_FAILED);
}