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 67dc923ee346d1663c0cf056934aa12e16346360..ff84d7f6ef29aaecaa8c2a9373b0eb71199f451b 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; |
} |
} |