| 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 522af9b9689de999c1548d971abd660314b59078..307c89419bd927f433cdcfa4f80a9cbbb0c0daac 100644
|
| --- a/components/history/core/browser/url_utils.cc
|
| +++ b/components/history/core/browser/url_utils.cc
|
| @@ -46,8 +46,8 @@ bool CanonicalURLStringCompare(const std::string& s1, const std::string& s2) {
|
| }
|
|
|
| bool HaveSameSchemeHostAndPort(const GURL&url1, const GURL& url2) {
|
| - return url1.scheme() == url2.scheme() && url1.host() == url2.host() &&
|
| - url1.port() == url2.port();
|
| + return url1.scheme_piece() == url2.scheme_piece() &&
|
| + url1.host_piece() == url2.host_piece() && url1.port() == url2.port();
|
| }
|
|
|
| bool IsPathPrefix(const std::string& p1, const std::string& p2) {
|
|
|