summaryrefslogtreecommitdiffstats
path: root/base/prefs/json_pref_store.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/prefs/json_pref_store.cc')
-rw-r--r--base/prefs/json_pref_store.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/prefs/json_pref_store.cc b/base/prefs/json_pref_store.cc
index ff3c232..0b93f74 100644
--- a/base/prefs/json_pref_store.cc
+++ b/base/prefs/json_pref_store.cc
@@ -69,7 +69,7 @@ class FileThreadDeserializer
JSONFileValueSerializer serializer(path);
base::Value* value = serializer.Deserialize(&error_code, &error_msg);
HandleErrors(value, path, error_code, error_msg, error);
- *no_dir = !file_util::PathExists(path.DirName());
+ *no_dir = !base::PathExists(path.DirName());
return value;
}
@@ -128,7 +128,7 @@ void FileThreadDeserializer::HandleErrors(
// If they've ever had a parse error before, put them in another bucket.
// TODO(erikkay) if we keep this error checking for very long, we may
// want to differentiate between recent and long ago errors.
- if (file_util::PathExists(bad))
+ if (base::PathExists(bad))
*error = PersistentPrefStore::PREF_READ_ERROR_JSON_REPEAT;
base::Move(path, bad);
break;