| Index: chrome/browser/spellchecker/spellcheck_custom_dictionary.cc
|
| diff --git a/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc b/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc
|
| index c3d248446164a9233d6ff472b2d66e781aec5d8a..cc3db9a1a693103a4a346e300d957096e5c99bea 100644
|
| --- a/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc
|
| +++ b/chrome/browser/spellchecker/spellcheck_custom_dictionary.cc
|
| @@ -102,7 +102,7 @@ void LoadDictionaryFileReliably(WordList& custom_words,
|
| if (LoadFile(backup, custom_words) != VALID_CHECKSUM)
|
| return;
|
| // Backup checksum is valid. Restore the backup.
|
| - file_util::CopyFile(backup, path);
|
| + base::CopyFile(backup, path);
|
| }
|
|
|
| // Backs up the original dictionary, saves |custom_words| and its checksum into
|
| @@ -119,7 +119,7 @@ void SaveDictionaryFileReliably(
|
| }
|
| std::string checksum = base::MD5String(content.str());
|
| content << CHECKSUM_PREFIX << checksum;
|
| - file_util::CopyFile(path, path.AddExtension(BACKUP_EXTENSION));
|
| + base::CopyFile(path, path.AddExtension(BACKUP_EXTENSION));
|
| base::ImportantFileWriter::WriteFileAtomically(path, content.str());
|
| }
|
|
|
|
|