diff options
Diffstat (limited to 'chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc')
-rw-r--r-- | chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc index 67dc923..ff84d7f 100644 --- a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc +++ b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc @@ -101,7 +101,7 @@ scoped_ptr<DictionaryFile> OpenDictionaryFile( NULL, NULL); } else { - base::Delete(file->path, false); + base::DeleteFile(file->path, false); } return file.Pass(); @@ -148,7 +148,7 @@ bool SaveDictionaryData(scoped_ptr<std::string> data, #endif if (!success) { - base::Delete(path, false); + base::DeleteFile(path, false); return false; } } |