Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index 4c9db9e5f9cb99eefdd32a65b9caa297a26e96b9..83c786214b17de7c482a0791dad7d6e13dc4957a 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -3846,7 +3846,6 @@ void WebContentsImpl::RunJavaScriptMessage( |
// showing an interstitial as it's shown over the previous page and we don't |
// want the hidden page's dialogs to interfere with the interstitial. |
bool suppress_this_message = |
- static_cast<RenderFrameHostImpl*>(render_frame_host)->is_swapped_out() || |
ShowingInterstitialPage() || !delegate_ || |
delegate_->ShouldSuppressDialogs(this) || |
!delegate_->GetJavaScriptDialogManager(this); |