Index: chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc |
diff --git a/chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc b/chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc |
index cb861563cb99a64bcaf09c21d528c93fb9410d02..5b9c84397bd13f9b354446d78d4de7d4e47a3333 100644 |
--- a/chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc |
+++ b/chrome/common/extensions/manifest_handlers/settings_overrides_handler.cc |
@@ -103,7 +103,7 @@ scoped_ptr<ChromeSettingsOverrides::Search_provider> ParseSearchEngine( |
// A www. prefix is not informative and thus not worth the limited real estate |
// in the permissions UI. |
std::string RemoveWwwPrefix(const std::string& url) { |
- if (base::StartsWithASCII(url, kWwwPrefix, false)) |
+ if (base::StartsWith(url, kWwwPrefix, base::CompareCase::INSENSITIVE_ASCII)) |
return url.substr(strlen(kWwwPrefix)); |
return url; |
} |