Index: tools/imagediff/image_diff.cc |
diff --git a/tools/imagediff/image_diff.cc b/tools/imagediff/image_diff.cc |
index 47d86bbef91c8d3800124cc7166c9f504533d4d1..c7fad6adf13692b87aa281441a1ce75beb8a3df3 100644 |
--- a/tools/imagediff/image_diff.cc |
+++ b/tools/imagediff/image_diff.cc |
@@ -384,7 +384,7 @@ int DiffImages(const base::FilePath& file1, const base::FilePath& file2, |
image_diff_png::EncodeRGBAPNG( |
diff_image.data(), diff_image.w(), diff_image.h(), |
diff_image.w() * 4, &png_encoding); |
- if (file_util::WriteFile(out_file, |
+ if (base::WriteFile(out_file, |
reinterpret_cast<char*>(&png_encoding.front()), |
base::checked_cast<int>(png_encoding.size())) < 0) |
return kStatusError; |