| Index: chrome/browser/infobars/infobar_service.cc
|
| diff --git a/chrome/browser/infobars/infobar_service.cc b/chrome/browser/infobars/infobar_service.cc
|
| index 5cd95f14730507fe8338df815b820c1f4f3b1a02..c901e32340f3da3f9316a2b90b8a863f933e74e1 100644
|
| --- a/chrome/browser/infobars/infobar_service.cc
|
| +++ b/chrome/browser/infobars/infobar_service.cc
|
| @@ -10,6 +10,7 @@
|
| #include "components/infobars/core/infobar.h"
|
| #include "content/public/browser/navigation_details.h"
|
| #include "content/public/browser/navigation_entry.h"
|
| +#include "content/public/browser/navigation_handle.h"
|
| #include "content/public/browser/notification_service.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "ui/base/page_transition_types.h"
|
| @@ -88,9 +89,11 @@ void InfoBarService::RenderProcessGone(base::TerminationStatus status) {
|
| RemoveAllInfoBars(true);
|
| }
|
|
|
| -void InfoBarService::DidStartNavigationToPendingEntry(
|
| - const GURL& url,
|
| - content::ReloadType reload_type) {
|
| +void InfoBarService::DidStartNavigation(
|
| + content::NavigationHandle* navigation_handle) {
|
| + if (!navigation_handle->IsInMainFrame() || navigation_handle->IsSamePage())
|
| + return;
|
| +
|
| ignore_next_reload_ = false;
|
| }
|
|
|
|
|