| Index: content/browser/plugin_service_impl.cc
|
| diff --git a/content/browser/plugin_service_impl.cc b/content/browser/plugin_service_impl.cc
|
| index 93140c27ef88a06e8a1539c2463f5b760dbcc7cc..eadffcc5d6eb2f1504669960abe4e6db698c1e0d 100644
|
| --- a/content/browser/plugin_service_impl.cc
|
| +++ b/content/browser/plugin_service_impl.cc
|
| @@ -581,7 +581,8 @@ base::string16 PluginServiceImpl::GetPluginDisplayNameByPath(
|
| // Many plugins on the Mac have .plugin in the actual name, which looks
|
| // terrible, so look for that and strip it off if present.
|
| const std::string kPluginExtension = ".plugin";
|
| - if (base::EndsWith(plugin_name, base::ASCIIToUTF16(kPluginExtension), true))
|
| + if (base::EndsWith(plugin_name, base::ASCIIToUTF16(kPluginExtension),
|
| + base::CompareCase::SENSITIVE))
|
| plugin_name.erase(plugin_name.length() - kPluginExtension.length());
|
| #endif // OS_MACOSX
|
| }
|
|
|