diff --git a/remoting/webapp/crd/js/window_frame.js b/remoting/webapp/crd/js/window_frame.js index 28eb2576293fb..0bb0b6475823c 100644 --- a/remoting/webapp/crd/js/window_frame.js +++ b/remoting/webapp/crd/js/window_frame.js @@ -128,13 +128,6 @@ remoting.WindowFrame.prototype.getClientArea = function() { * @private */ remoting.WindowFrame.prototype.disconnectSession_ = function() { - // When the user disconnects, exit full-screen mode. This should not be - // necessary, as we do the same thing in client_session.js when the plugin - // is removed. However, there seems to be a bug in chrome.AppWindow.restore - // that causes it to get stuck in full-screen mode without this. - if (chrome.app.window.current().isFullscreen()) { - chrome.app.window.current().restore(); - } remoting.app.disconnect(); };