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

Unified Diff: printing/image.cc

Issue 184563006: Move WriteFile and WriteFileDescriptor from file_util to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months 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
« no previous file with comments | « printing/backend/cups_helper.cc ('k') | printing/pdf_metafile_skia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/image.cc
diff --git a/printing/image.cc b/printing/image.cc
index 1d65f2881740cc55087d8cbbaa1e0a638192f9c4..bae89f8a0faf7bfce296b1fdad4a5488ad074755 100644
--- a/printing/image.cc
+++ b/printing/image.cc
@@ -70,7 +70,7 @@ bool Image::SaveToPng(const base::FilePath& filepath) const {
&compressed);
DCHECK(success && compressed.size());
if (success) {
- int write_bytes = file_util::WriteFile(
+ int write_bytes = base::WriteFile(
filepath,
reinterpret_cast<char*>(&*compressed.begin()),
base::checked_cast<int>(compressed.size()));
« no previous file with comments | « printing/backend/cups_helper.cc ('k') | printing/pdf_metafile_skia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698