Index: chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc |
diff --git a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc |
index 6cc0fa2be5602545a7d3dbdc7bd3d44edd4c964f..003477dd5b83036561808980b803e0ac8fd3fadd 100644 |
--- a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc |
+++ b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc |
@@ -133,7 +133,7 @@ bool SaveDictionaryData(scoped_ptr<std::string> data, |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); |
size_t bytes_written = |
- file_util::WriteFile(path, data->data(), data->length()); |
+ base::WriteFile(path, data->data(), data->length()); |
if (bytes_written != data->length()) { |
bool success = false; |
#if defined(OS_WIN) |
@@ -142,7 +142,7 @@ bool SaveDictionaryData(scoped_ptr<std::string> data, |
base::FilePath fallback_file_path = |
dict_dir.Append(path.BaseName()); |
bytes_written = |
- file_util::WriteFile(fallback_file_path, data->data(), data->length()); |
+ base::WriteFile(fallback_file_path, data->data(), data->length()); |
if (bytes_written == data->length()) |
success = true; |
#endif |