Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(513)

Unified Diff: remoting/webapp/crd/js/client_session.js

Issue 952353002: Requiem for client_screen.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/webapp/crd/js/client_session.js
diff --git a/remoting/webapp/crd/js/client_session.js b/remoting/webapp/crd/js/client_session.js
index 511d7c39eab0e02b224788005be6418e4fae8ae0..f249b35bd1d93240b8076349468672ddea2914d4 100644
--- a/remoting/webapp/crd/js/client_session.js
+++ b/remoting/webapp/crd/js/client_session.js
@@ -321,7 +321,7 @@ remoting.ClientSession.prototype.resetWithError_ = function(error) {
this.removePlugin();
this.error_ = error;
this.setState_(remoting.ClientSession.State.FAILED);
-}
+};
/**
* Deletes the <embed> element from the container, without sending a
@@ -333,6 +333,7 @@ remoting.ClientSession.prototype.resetWithError_ = function(error) {
remoting.ClientSession.prototype.removePlugin = function() {
this.uiHandler_.removePlugin();
this.plugin_ = null;
+ remoting.desktopConnectedView = null;
};
/**

Powered by Google App Engine
This is Rietveld 408576698