From ee1571e556181d1bfcc0e9e7ef683cd7c5a5b360 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 30 Aug 2016 17:08:51 +0900 Subject: [PATCH] Revert "exit tab fullscreen on destroy" --- atom/browser/api/atom_api_web_contents.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/atom/browser/api/atom_api_web_contents.cc b/atom/browser/api/atom_api_web_contents.cc index 45ad4c56a5..f67926978d 100644 --- a/atom/browser/api/atom_api_web_contents.cc +++ b/atom/browser/api/atom_api_web_contents.cc @@ -775,8 +775,6 @@ bool WebContents::OnMessageReceived(const IPC::Message& message) { // be destroyed on close, and WebContentsDestroyed would be called for it, so // we need to make sure the api::WebContents is also deleted. void WebContents::WebContentsDestroyed() { - // clear out tab fullscreen state - ExitFullscreenModeForTab(web_contents()); // This event is only for internal use, which is emitted when WebContents is // being destroyed. Emit("will-destroy");