| Index: components/ntp_tiles/most_visited_sites.cc
|
| diff --git a/components/ntp_tiles/most_visited_sites.cc b/components/ntp_tiles/most_visited_sites.cc
|
| index fab0384830af66c9f4734e5eaff4f07c9ae6be3a..e78b0e01b380ebd801ca8e02cffa04a62c688b9a 100644
|
| --- a/components/ntp_tiles/most_visited_sites.cc
|
| +++ b/components/ntp_tiles/most_visited_sites.cc
|
| @@ -76,7 +76,8 @@ bool NeedPopularSites(const PrefService* prefs, int num_tiles) {
|
| }
|
|
|
| bool AreURLsEquivalent(const GURL& url1, const GURL& url2) {
|
| - return url1.host() == url2.host() && url1.path() == url2.path();
|
| + return url1.host_piece() == url2.host_piece() &&
|
| + url1.path_piece() == url2.path_piece();
|
| }
|
|
|
| } // namespace
|
|
|