| Index: components/search_engines/template_url.cc
|
| diff --git a/components/search_engines/template_url.cc b/components/search_engines/template_url.cc
|
| index da62aaa3c13bf3af09da2e8888ad0289aa3402da..981879ff1afaa3cd54e9d7a471b8453cef44a032 100644
|
| --- a/components/search_engines/template_url.cc
|
| +++ b/components/search_engines/template_url.cc
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "base/command_line.h"
|
| #include "base/format_macros.h"
|
| +#include "base/i18n/case_conversion.h"
|
| #include "base/i18n/icu_string_conversions.h"
|
| #include "base/i18n/rtl.h"
|
| #include "base/logging.h"
|
| @@ -1177,7 +1178,8 @@ base::string16 TemplateURL::GenerateKeyword(const GURL& url) {
|
| // Special case: if the host was exactly "www." (not sure this can happen but
|
| // perhaps with some weird intranet and custom DNS server?), ensure we at
|
| // least don't return the empty string.
|
| - return keyword.empty() ? base::ASCIIToUTF16("www") : keyword;
|
| + return keyword.empty() ? base::ASCIIToUTF16("www")
|
| + : base::i18n::ToLower(keyword);
|
| }
|
|
|
| // static
|
|
|