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

Unified Diff: trunk/src/content/child/npapi/plugin_stream_posix.cc

Issue 100923007: Revert 239400 "Revert 239280 "Move more file_util functions to b..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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: trunk/src/content/child/npapi/plugin_stream_posix.cc
===================================================================
--- trunk/src/content/child/npapi/plugin_stream_posix.cc (revision 239400)
+++ trunk/src/content/child/npapi/plugin_stream_posix.cc (working copy)
@@ -34,7 +34,7 @@
DCHECK_EQ(static_cast<FILE*>(NULL), temp_file_);
if (base::CreateTemporaryFile(&temp_file_path_))
- temp_file_ = file_util::OpenFile(temp_file_path_, "a");
+ temp_file_ = base::OpenFile(temp_file_path_, "a");
if (!temp_file_) {
base::DeleteFile(temp_file_path_, false);
@@ -48,7 +48,7 @@
if (!TempFileIsValid())
return;
- file_util::CloseFile(temp_file_);
+ base::CloseFile(temp_file_);
ResetTempFileHandle();
}

Powered by Google App Engine
This is Rietveld 408576698