| Index: components/google/core/browser/google_url_tracker.cc
|
| diff --git a/components/google/core/browser/google_url_tracker.cc b/components/google/core/browser/google_url_tracker.cc
|
| index 770c9af48bd3d0625bb667ae499fd7e301155a02..2ead3643b3d199f29fef070df9d7c0abcfb9a9a4 100644
|
| --- a/components/google/core/browser/google_url_tracker.cc
|
| +++ b/components/google/core/browser/google_url_tracker.cc
|
| @@ -97,7 +97,8 @@ void GoogleURLTracker::OnURLFetchComplete(const net::URLFetcher* source) {
|
| std::string url_str;
|
| source->GetResponseAsString(&url_str);
|
| base::TrimWhitespace(url_str, base::TRIM_ALL, &url_str);
|
| - if (!base::StartsWithASCII(url_str, ".google.", false))
|
| + if (!base::StartsWith(url_str, ".google.",
|
| + base::CompareCase::INSENSITIVE_ASCII))
|
| return;
|
| GURL url("https://www" + url_str);
|
| if (!url.is_valid() || (url.path().length() > 1) || url.has_query() ||
|
|
|