Index: tools/imagediff/image_diff.cc |
diff --git a/tools/imagediff/image_diff.cc b/tools/imagediff/image_diff.cc |
index 27acf767ca051fd0598cba9b497b261d4b23cd39..604f27e88df432bd2c7cab6f93c47a6b8d527997 100644 |
--- a/tools/imagediff/image_diff.cc |
+++ b/tools/imagediff/image_diff.cc |
@@ -96,7 +96,7 @@ class Image { |
// Creates the image from the given filename on disk, and returns true on |
// success. |
bool CreateFromFilename(const base::FilePath& path) { |
- FILE* f = file_util::OpenFile(path, "rb"); |
+ FILE* f = base::OpenFile(path, "rb"); |
if (!f) |
return false; |
@@ -108,7 +108,7 @@ class Image { |
compressed.insert(compressed.end(), buf, buf + num_read); |
} |
- file_util::CloseFile(f); |
+ base::CloseFile(f); |
if (!image_diff_png::DecodePNG(&compressed[0], compressed.size(), |
&data_, &w_, &h_)) { |