| 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 617f484c9048074e925e5c9f74e88c18fffacacc..52ddbab340bdc1211418e09c4e8ef738543b3935 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -988,6 +988,8 @@ void WebContentsImpl::CancelActiveAndPendingDialogs() {
|
| }
|
| if (browser_plugin_embedder_)
|
| browser_plugin_embedder_->CancelGuestDialogs();
|
| + if (delegate_)
|
| + delegate_->HideValidationMessage(this);
|
| }
|
|
|
| void WebContentsImpl::ClosePage() {
|
| @@ -4694,9 +4696,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
|
|
|