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

Unified Diff: chrome/renderer/chrome_mock_render_thread.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: chrome/renderer/chrome_mock_render_thread.cc
diff --git a/chrome/renderer/chrome_mock_render_thread.cc b/chrome/renderer/chrome_mock_render_thread.cc
index ec8a2ad76ce830afcf77920b90346a91ee7a42d5..d0e13e16ecf33411fca256fd4ff59d6e130b598d 100644
--- a/chrome/renderer/chrome_mock_render_thread.cc
+++ b/chrome/renderer/chrome_mock_render_thread.cc
@@ -103,7 +103,7 @@ void ChromeMockRenderThread::OnAllocateTempFileForPrinting(
renderer_fd->auto_close = false;
base::FilePath path;
- if (file_util::CreateTemporaryFile(&path)) {
+ if (base::CreateTemporaryFile(&path)) {
int fd = open(path.value().c_str(), O_WRONLY);
DCHECK_GE(fd, 0);
renderer_fd->fd = *browser_fd = fd;
« no previous file with comments | « chrome/installer/util/shell_util_unittest.cc ('k') | chrome/renderer/printing/print_web_view_helper_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698