diff options
Diffstat (limited to 'ppapi')
-rw-r--r-- | ppapi/shared_impl/dictionary_var.cc | 2 | ||||
-rw-r--r-- | ppapi/shared_impl/file_ref_util.cc | 2 | ||||
-rw-r--r-- | ppapi/shared_impl/var.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ppapi/shared_impl/dictionary_var.cc b/ppapi/shared_impl/dictionary_var.cc index 54d2010..8676c43 100644 --- a/ppapi/shared_impl/dictionary_var.cc +++ b/ppapi/shared_impl/dictionary_var.cc @@ -90,7 +90,7 @@ PP_Var DictionaryVar::GetKeys() const { bool DictionaryVar::SetWithStringKey(const std::string& utf8_key, const PP_Var& value) { - if (!IsStringUTF8(utf8_key)) + if (!base::IsStringUTF8(utf8_key)) return false; key_value_map_[utf8_key] = value; diff --git a/ppapi/shared_impl/file_ref_util.cc b/ppapi/shared_impl/file_ref_util.cc index 3be8e0a..a5523cb 100644 --- a/ppapi/shared_impl/file_ref_util.cc +++ b/ppapi/shared_impl/file_ref_util.cc @@ -36,7 +36,7 @@ bool IsValidInternalPath(const std::string& path) { // The path starts with '/' // The path must contain valid UTF-8 characters. // It must not FilePath::ReferencesParent(). - if (path.empty() || !IsStringUTF8(path) || path[0] != '/') + if (path.empty() || !base::IsStringUTF8(path) || path[0] != '/') return false; base::FilePath file_path = base::FilePath::FromUTF8Unsafe(path); if (file_path.ReferencesParent()) diff --git a/ppapi/shared_impl/var.cc b/ppapi/shared_impl/var.cc index 8f3ddb5..3020182 100644 --- a/ppapi/shared_impl/var.cc +++ b/ppapi/shared_impl/var.cc @@ -148,7 +148,7 @@ PP_Var StringVar::StringToPPVar(const std::string& var) { // static PP_Var StringVar::StringToPPVar(const char* data, uint32 len) { scoped_refptr<StringVar> str(new StringVar(data, len)); - if (!str.get() || !IsStringUTF8(str->value())) + if (!str.get() || !base::IsStringUTF8(str->value())) return PP_MakeNull(); return str->GetPPVar(); } |