summaryrefslogtreecommitdiffstats
path: root/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc')
-rw-r--r--chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc4
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 a6f5169..67dc923 100644
--- a/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
+++ b/chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
@@ -80,7 +80,7 @@ scoped_ptr<DictionaryFile> OpenDictionaryFile(
base::FilePath user_dir;
PathService::Get(chrome::DIR_USER_DATA, &user_dir);
base::FilePath fallback = user_dir.Append(file->path.BaseName());
- if (!file_util::PathExists(file->path) && file_util::PathExists(fallback))
+ if (!base::PathExists(file->path) && base::PathExists(fallback))
file->path = fallback;
#endif
@@ -89,7 +89,7 @@ scoped_ptr<DictionaryFile> OpenDictionaryFile(
bool bdict_is_valid;
{
base::MemoryMappedFile map;
- bdict_is_valid = file_util::PathExists(file->path) &&
+ bdict_is_valid = base::PathExists(file->path) &&
map.Initialize(file->path) &&
hunspell::BDict::Verify(reinterpret_cast<const char*>(map.data()),
map.length());