Index: chrome/browser/supervised_user/experimental/supervised_user_async_url_checker.cc |
diff --git a/chrome/browser/supervised_user/experimental/supervised_user_async_url_checker.cc b/chrome/browser/supervised_user/experimental/supervised_user_async_url_checker.cc |
index 2e608645e26b6992ddaf5da056ed0f61b2affd6b..59e4ac8adffc07812f4ac494ea59ec575793e460 100644 |
--- a/chrome/browser/supervised_user/experimental/supervised_user_async_url_checker.cc |
+++ b/chrome/browser/supervised_user/experimental/supervised_user_async_url_checker.cc |
@@ -54,7 +54,7 @@ GURL GetNormalizedURL(const GURL& url) { |
replacements.SetHostStr(base::StringPiece(host).substr(www.size())); |
// Strip trailing slash (if any). |
const std::string path(url.path()); |
- if (base::EndsWith(path, "/", true)) |
+ if (base::EndsWith(path, "/", base::CompareCase::SENSITIVE)) |
replacements.SetPathStr(base::StringPiece(path).substr(0, path.size() - 1)); |
return url.ReplaceComponents(replacements); |
} |