Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3346)

Unified Diff: chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc

Issue 18286004: Move PathExists to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 a6f5169e9870f4ec6e33b6566532239242e5234c..67dc923ee346d1663c0cf056934aa12e16346360 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());

Powered by Google App Engine
This is Rietveld 408576698