diff options
Diffstat (limited to 'content/child')
-rw-r--r-- | content/child/ftp_directory_listing_response_delegate.cc | 2 | ||||
-rw-r--r-- | content/child/simple_webmimeregistry_impl.cc | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/content/child/ftp_directory_listing_response_delegate.cc b/content/child/ftp_directory_listing_response_delegate.cc index cc700ae..e6e7feb 100644 --- a/content/child/ftp_directory_listing_response_delegate.cc +++ b/content/child/ftp_directory_listing_response_delegate.cc @@ -34,7 +34,7 @@ namespace { base::string16 ConvertPathToUTF16(const std::string& path) { // Per RFC 2640, FTP servers should use UTF-8 or its proper subset ASCII, // but many old FTP servers use legacy encodings. Try UTF-8 first. - if (IsStringUTF8(path)) + if (base::IsStringUTF8(path)) return base::UTF8ToUTF16(path); // Try detecting the encoding. The sample is rather small though, so it may diff --git a/content/child/simple_webmimeregistry_impl.cc b/content/child/simple_webmimeregistry_impl.cc index 3b3ebd6..e7416d9 100644 --- a/content/child/simple_webmimeregistry_impl.cc +++ b/content/child/simple_webmimeregistry_impl.cc @@ -18,7 +18,8 @@ namespace content { //static std::string SimpleWebMimeRegistryImpl::ToASCIIOrEmpty(const WebString& string) { - return IsStringASCII(string) ? base::UTF16ToASCII(string) : std::string(); + return base::IsStringASCII(string) ? base::UTF16ToASCII(string) + : std::string(); } WebMimeRegistry::SupportsType SimpleWebMimeRegistryImpl::supportsMIMEType( |