| Index: chrome/browser/banners/app_banner_data_fetcher.cc
|
| diff --git a/chrome/browser/banners/app_banner_data_fetcher.cc b/chrome/browser/banners/app_banner_data_fetcher.cc
|
| index 66faab4c2215a56acce6f8292e1c4c964ade8acc..cbb8e790acda0032a550f709e05ccc4750d99d33 100644
|
| --- a/chrome/browser/banners/app_banner_data_fetcher.cc
|
| +++ b/chrome/browser/banners/app_banner_data_fetcher.cc
|
| @@ -18,6 +18,7 @@
|
| #include "components/rappor/rappor_utils.h"
|
| #include "content/public/browser/browser_context.h"
|
| #include "content/public/browser/browser_thread.h"
|
| +#include "content/public/browser/navigation_details.h"
|
| #include "content/public/browser/render_frame_host.h"
|
| #include "content/public/browser/service_worker_context.h"
|
| #include "content/public/browser/storage_partition.h"
|
| @@ -114,7 +115,8 @@ void AppBannerDataFetcher::WebContentsDestroyed() {
|
| void AppBannerDataFetcher::DidNavigateMainFrame(
|
| const content::LoadCommittedDetails& details,
|
| const content::FrameNavigateParams& params) {
|
| - Cancel();
|
| + if (!details.is_in_page)
|
| + Cancel();
|
| }
|
|
|
| bool AppBannerDataFetcher::OnMessageReceived(
|
|
|