| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index 52acc0c0809f06fc6990de2410754feb35098613..6b1932f1567dc563119adb121399eae1894838b9 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -217,8 +217,8 @@ void EnsureReadmeFile(const base::FilePath& base) {
|
| std::string product_name = l10n_util::GetStringUTF8(IDS_PRODUCT_NAME);
|
| std::string readme_text = base::StringPrintf(
|
| kReadmeText, product_name.c_str(), product_name.c_str());
|
| - if (file_util::WriteFile(
|
| - readme_path, readme_text.data(), readme_text.size()) == -1) {
|
| + if (base::WriteFile(readme_path, readme_text.data(), readme_text.size()) ==
|
| + -1) {
|
| LOG(ERROR) << "Could not create README file.";
|
| }
|
| }
|
|
|