| Index: content/common/plugin_list.cc
|
| diff --git a/content/common/plugin_list.cc b/content/common/plugin_list.cc
|
| index 1cc8fa577e59003d9888b5c4d8bf09c9eb2d46f2..c162727b01588f44b19bb89b6a7364f62563af44 100644
|
| --- a/content/common/plugin_list.cc
|
| +++ b/content/common/plugin_list.cc
|
| @@ -145,7 +145,7 @@ bool PluginList::ParseMimeTypes(
|
|
|
| for (size_t i = 0; i < mime_types.size(); ++i) {
|
| WebPluginMimeType mime_type;
|
| - mime_type.mime_type = base::StringToLowerASCII(mime_types[i]);
|
| + mime_type.mime_type = base::ToLowerASCII(mime_types[i]);
|
| if (file_extensions.size() > i) {
|
| mime_type.file_extensions = base::SplitString(
|
| file_extensions[i], ",", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
|
| @@ -317,7 +317,7 @@ void PluginList::GetPluginInfoArray(
|
| bool include_npapi,
|
| std::vector<WebPluginInfo>* info,
|
| std::vector<std::string>* actual_mime_types) {
|
| - DCHECK(mime_type == base::StringToLowerASCII(mime_type));
|
| + DCHECK(mime_type == base::ToLowerASCII(mime_type));
|
| DCHECK(info);
|
|
|
| if (!use_stale)
|
| @@ -353,7 +353,7 @@ void PluginList::GetPluginInfoArray(
|
| std::string::size_type last_dot = path.rfind('.');
|
| if (last_dot != std::string::npos && mime_type.empty()) {
|
| std::string extension =
|
| - base::StringToLowerASCII(std::string(path, last_dot+1));
|
| + base::ToLowerASCII(base::StringPiece(path).substr(last_dot + 1));
|
| std::string actual_mime_type;
|
| for (size_t i = 0; i < plugins_list_.size(); ++i) {
|
| if (SupportsExtension(plugins_list_[i], extension, &actual_mime_type)) {
|
|
|