summaryrefslogtreecommitdiffstats
path: root/tools/imagediff
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-08 21:31:42 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-08 21:31:42 +0000
commita4f7378f973b38400f133958842eb36db0b61dcb (patch)
tree3ffb843e14698a63c4b5f1bac43cdcf1f4e1402e /tools/imagediff
parent76b4b15804dafa5e586738bd7c8ac12fea6ddec2 (diff)
downloadchromium_src-a4f7378f973b38400f133958842eb36db0b61dcb.zip
chromium_src-a4f7378f973b38400f133958842eb36db0b61dcb.tar.gz
chromium_src-a4f7378f973b38400f133958842eb36db0b61dcb.tar.bz2
Revert 239280 "Move more file_util functions to base namespace."
dbus_unittests started fialing on Linux Tests (dbg)(2) and Linux Tests (dbg)(2)(32). This CL is the only in the intersection of CLs in the first failing build on the two builders, so giving a speculative revert a try (rlarocque already tried a clobber, it didn't help). http://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20%28dbg%29%282%29/builds/41806 http://build.chromium.org/p/chromium.linux/builders/Linux%20Tests%20%28dbg%29%282%29%2832%29/builds/8544 > Move more file_util functions to base namespace. > > TBR=sky > > Review URL: https://codereview.chromium.org/109043002 TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/105823009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239400 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/imagediff')
-rw-r--r--tools/imagediff/image_diff.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/imagediff/image_diff.cc b/tools/imagediff/image_diff.cc
index 604f27e..27acf76 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 = base::OpenFile(path, "rb");
+ FILE* f = file_util::OpenFile(path, "rb");
if (!f)
return false;
@@ -108,7 +108,7 @@ class Image {
compressed.insert(compressed.end(), buf, buf + num_read);
}
- base::CloseFile(f);
+ file_util::CloseFile(f);
if (!image_diff_png::DecodePNG(&compressed[0], compressed.size(),
&data_, &w_, &h_)) {