Index: chrome/browser/chromeos/login/user_image_manager_impl.cc |
diff --git a/chrome/browser/chromeos/login/user_image_manager_impl.cc b/chrome/browser/chromeos/login/user_image_manager_impl.cc |
index 5a022e3b4a223a44b762593046ce287418f6d3fd..15769eb4824db3e53c73e2af5c66d56da0defa31 100644 |
--- a/chrome/browser/chromeos/login/user_image_manager_impl.cc |
+++ b/chrome/browser/chromeos/login/user_image_manager_impl.cc |
@@ -172,9 +172,9 @@ bool SaveImage(const UserImage& user_image, const base::FilePath& image_path) { |
} |
if (!encoded_image->size() || |
- file_util::WriteFile(image_path, |
- reinterpret_cast<const char*>(&(*encoded_image)[0]), |
- encoded_image->size()) == -1) { |
+ base::WriteFile(image_path, |
+ reinterpret_cast<const char*>(&(*encoded_image)[0]), |
+ encoded_image->size()) == -1) { |
LOG(ERROR) << "Failed to save image to file."; |
return false; |
} |