Index: chrome/browser/search_engines/template_url.cc |
diff --git a/chrome/browser/search_engines/template_url.cc b/chrome/browser/search_engines/template_url.cc |
index 3bdd45990d851324b6c526a77141ed3494e81445..88172674644616284d64206034bc3244da06b604 100644 |
--- a/chrome/browser/search_engines/template_url.cc |
+++ b/chrome/browser/search_engines/template_url.cc |
@@ -561,7 +561,7 @@ void TemplateURL::SetURL(const std::string& url, |
void TemplateURL::set_keyword(const std::wstring& keyword) { |
// Case sensitive keyword matching is confusing. As such, we force all |
// keywords to be lower case. |
- keyword_ = l10n_util::ToLower(keyword); |
+ keyword_ = UTF16ToWide(l10n_util::ToLower(WideToUTF16(keyword))); |
autogenerate_keyword_ = false; |
} |