| 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 40429d51814846c69671b3bce27a1af955e1452b..088381683c9ac16a6939c50b427de893a92a8f32 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -987,6 +987,8 @@ void WebContentsImpl::CancelActiveAndPendingDialogs() {
|
| }
|
| if (browser_plugin_embedder_)
|
| browser_plugin_embedder_->CancelGuestDialogs();
|
| + if (delegate_)
|
| + delegate_->HideValidationMessage(this);
|
| }
|
|
|
| void WebContentsImpl::ClosePage() {
|
| @@ -4675,9 +4677,6 @@ void WebContentsImpl::RenderViewTerminated(RenderViewHost* rvh,
|
| // Cancel any visible dialogs so they are not left dangling over the sad tab.
|
| CancelActiveAndPendingDialogs();
|
|
|
| - if (delegate_)
|
| - delegate_->HideValidationMessage(this);
|
| -
|
| audio_stream_monitor_.RenderProcessGone(rvh->GetProcess()->GetID());
|
|
|
| // Reset the loading progress. TODO(avi): What does it mean to have a
|
|
|