| Index: chrome/browser/banners/app_banner_manager.cc
|
| diff --git a/chrome/browser/banners/app_banner_manager.cc b/chrome/browser/banners/app_banner_manager.cc
|
| index 9f98619aff3b33e811638b528b6e92750cd20d52..63aa7b33d06c32de0dd474d3545ab6a7614e42d9 100644
|
| --- a/chrome/browser/banners/app_banner_manager.cc
|
| +++ b/chrome/browser/banners/app_banner_manager.cc
|
| @@ -81,7 +81,8 @@ void AppBannerManager::SetEngagementWeights(double direct_engagement,
|
| bool AppBannerManager::URLsAreForTheSamePage(const GURL& first,
|
| const GURL& second) {
|
| return first.GetWithEmptyPath() == second.GetWithEmptyPath() &&
|
| - first.path() == second.path() && first.query() == second.query();
|
| + first.path_piece() == second.path_piece() &&
|
| + first.query_piece() == second.query_piece();
|
| }
|
|
|
| void AppBannerManager::RequestAppBanner(const GURL& validated_url,
|
|
|