diff options
Diffstat (limited to 'content/browser/download/drag_download_util.cc')
-rw-r--r-- | content/browser/download/drag_download_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/download/drag_download_util.cc b/content/browser/download/drag_download_util.cc index a5ff841..41bff06 100644 --- a/content/browser/download/drag_download_util.cc +++ b/content/browser/download/drag_download_util.cc @@ -82,7 +82,7 @@ FileStream* CreateFileStreamForDrop(base::FilePath* file_path, // Explicitly (and redundantly check) for file -- despite the fact that our // open won't overwrite -- just to avoid log spew. - if (!file_util::PathExists(new_file_path) && + if (!base::PathExists(new_file_path) && file_stream->OpenSync(new_file_path, base::PLATFORM_FILE_CREATE | base::PLATFORM_FILE_WRITE) == net::OK) { *file_path = new_file_path; |