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())); |