Index: chrome/browser/extensions/webstore_inline_installer.cc |
diff --git a/chrome/browser/extensions/webstore_inline_installer.cc b/chrome/browser/extensions/webstore_inline_installer.cc |
index f22278abadcb6538657f7ca391d68bad97380455..ad79d091d6e530be10464fce566459d7d0f7efb1 100644 |
--- a/chrome/browser/extensions/webstore_inline_installer.cc |
+++ b/chrome/browser/extensions/webstore_inline_installer.cc |
@@ -233,7 +233,7 @@ bool WebstoreInlineInstaller::CheckRequestorPermitted( |
void WebstoreInlineInstaller::DidFinishNavigation( |
content::NavigationHandle* navigation_handle) { |
if (navigation_handle->HasCommitted() && |
- !navigation_handle->IsSamePage() && |
+ !navigation_handle->IsSameDocument() && |
(navigation_handle->GetRenderFrameHost() == host_ || |
navigation_handle->IsInMainFrame())) { |
host_ = nullptr; |