Index: remoting/webapp/window_frame.js |
diff --git a/remoting/webapp/window_frame.js b/remoting/webapp/window_frame.js |
index 6bdf3fb752ca70f48151615d4e28b89db79f8323..45dc18ef5182cb87f035bfc5c3752bc372f5e91a 100644 |
--- a/remoting/webapp/window_frame.js |
+++ b/remoting/webapp/window_frame.js |
@@ -112,7 +112,6 @@ remoting.WindowFrame.prototype.disconnectSession_ = function() { |
// that causes it to get stuck in full-screen mode without this. |
if (chrome.app.window.current().isFullscreen()) { |
chrome.app.window.current().restore(); |
- chrome.app.window.current().restore(); |
} |
remoting.disconnect(); |
}; |
@@ -130,7 +129,6 @@ remoting.WindowFrame.prototype.maximizeOrRestoreWindow_ = function() { |
// If the app is not full-screen, or went full-screen without first |
// being maximized, then the second restore has no effect. |
chrome.app.window.current().restore(); |
- chrome.app.window.current().restore(); |
} else if (this.isConnected_) { |
chrome.app.window.current().fullscreen(); |
} else { |