Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4942)

Unified Diff: chrome/browser/search/hotword_service.cc

Issue 1279123004: Replace ToLower calls to the new format (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/search/hotword_service.cc
diff --git a/chrome/browser/search/hotword_service.cc b/chrome/browser/search/hotword_service.cc
index 30d12f010a324afa2f8ce4716b43c627ca5502fb..3611432c396a2b63f2e53e68f8f891dbac9e655c 100644
--- a/chrome/browser/search/hotword_service.cc
+++ b/chrome/browser/search/hotword_service.cc
@@ -268,8 +268,7 @@ class HotwordNotificationDelegate : public NotificationDelegate {
// static
bool HotwordService::DoesHotwordSupportLanguage(Profile* profile) {
std::string normalized_locale =
- l10n_util::NormalizeLocale(GetCurrentLocale(profile));
- base::StringToLowerASCII(&normalized_locale);
+ base::ToLowerASCII(l10n_util::NormalizeLocale(GetCurrentLocale(profile)));
// For M43, we are limiting always-on to en_us only.
// TODO(kcarattini): Remove this once

Powered by Google App Engine
This is Rietveld 408576698