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

Unified Diff: content/child/npapi/plugin_stream_posix.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: content/child/npapi/plugin_stream_posix.cc
diff --git a/content/child/npapi/plugin_stream_posix.cc b/content/child/npapi/plugin_stream_posix.cc
index 478126888ad92c7870a61799e52b2f0c15fd01ab..b84a6d9d0ca47e6a5bb016669eaba9484acbbbc0 100644
--- a/content/child/npapi/plugin_stream_posix.cc
+++ b/content/child/npapi/plugin_stream_posix.cc
@@ -33,7 +33,7 @@ size_t PluginStream::WriteBytes(const char* buf, size_t length) {
bool PluginStream::OpenTempFile() {
DCHECK_EQ(static_cast<FILE*>(NULL), temp_file_);
- if (file_util::CreateTemporaryFile(&temp_file_path_))
+ if (base::CreateTemporaryFile(&temp_file_path_))
temp_file_ = file_util::OpenFile(temp_file_path_, "a");
if (!temp_file_) {
« no previous file with comments | « content/browser/web_contents/web_contents_drag_win.cc ('k') | content/common/sandbox_mac_diraccess_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698