Revert "exit tab fullscreen on destroy"
This commit is contained in:
parent
b5dec9990e
commit
ee1571e556
1 changed files with 0 additions and 2 deletions
|
@ -775,8 +775,6 @@ bool WebContents::OnMessageReceived(const IPC::Message& message) {
|
||||||
// be destroyed on close, and WebContentsDestroyed would be called for it, so
|
// be destroyed on close, and WebContentsDestroyed would be called for it, so
|
||||||
// we need to make sure the api::WebContents is also deleted.
|
// we need to make sure the api::WebContents is also deleted.
|
||||||
void WebContents::WebContentsDestroyed() {
|
void WebContents::WebContentsDestroyed() {
|
||||||
// clear out tab fullscreen state
|
|
||||||
ExitFullscreenModeForTab(web_contents());
|
|
||||||
// This event is only for internal use, which is emitted when WebContents is
|
// This event is only for internal use, which is emitted when WebContents is
|
||||||
// being destroyed.
|
// being destroyed.
|
||||||
Emit("will-destroy");
|
Emit("will-destroy");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue