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

Unified Diff: components/history/core/browser/url_utils.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: components/history/core/browser/url_utils.cc
diff --git a/components/history/core/browser/url_utils.cc b/components/history/core/browser/url_utils.cc
index 54dc5a9fc56cb61ed79634893f0ad3e17c3b2ac7..522af9b9689de999c1548d971abd660314b59078 100644
--- a/components/history/core/browser/url_utils.cc
+++ b/components/history/core/browser/url_utils.cc
@@ -88,7 +88,6 @@ GURL ToggleHTTPAndHTTPS(const GURL& url) {
std::string HostForTopHosts(const GURL& url) {
std::string host = url.host();
- base::StringToLowerASCII(&host);
if (base::StartsWith(host, "www.", base::CompareCase::SENSITIVE))
host.assign(host, 4, std::string::npos);
return host;
« no previous file with comments | « components/device_event_log/device_event_log_impl.cc ('k') | components/language_usage_metrics/language_usage_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698