| Index: chrome/browser/profiles/profile_info_cache.cc
|
| diff --git a/chrome/browser/profiles/profile_info_cache.cc b/chrome/browser/profiles/profile_info_cache.cc
|
| index 0ae399f5310c4395719e44bcea6adb0de3df6d3d..0c0fe7c801f2b178635a234c49b3d270d839efa1 100644
|
| --- a/chrome/browser/profiles/profile_info_cache.cc
|
| +++ b/chrome/browser/profiles/profile_info_cache.cc
|
| @@ -134,9 +134,8 @@ void SaveBitmap(ImageData* data,
|
| return;
|
| }
|
|
|
| - if (file_util::WriteFile(image_path,
|
| - reinterpret_cast<char*>(&(*data)[0]),
|
| - data->size()) == -1) {
|
| + if (base::WriteFile(image_path, reinterpret_cast<char*>(&(*data)[0]),
|
| + data->size()) == -1) {
|
| LOG(ERROR) << "Failed to save image to file.";
|
| return;
|
| }
|
|
|