CommonWebContentsDelegate::DestroyWebContents => ResetManagedWebContents

This commit is contained in:
deepak1556 2017-03-22 07:30:36 +05:30
parent 72adbf7a2f
commit 4ab2c92418
3 changed files with 5 additions and 5 deletions

View file

@ -420,7 +420,7 @@ void WebContents::DestroyWebContents() {
// This event is only for internal use, which is emitted when WebContents is
// being destroyed.
Emit("will-destroy");
CommonWebContentsDelegate::DestroyWebContents();
ResetManagedWebContents();
}
bool WebContents::DidAddMessageToConsole(content::WebContents* source,