CommonWebContentsDelegate::DestroyWebContents => ResetManagedWebContents
This commit is contained in:
parent
72adbf7a2f
commit
4ab2c92418
3 changed files with 5 additions and 5 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue