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

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

Issue 1020743002: [Chromoting] Move app-specific code out of remoting.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/host_screen.js
diff --git a/remoting/webapp/crd/js/host_screen.js b/remoting/webapp/crd/js/host_screen.js
index 784586321b1cc1fa1dfef398bf1ea439417c9dee..7aefddab486c76ef551ab3c4491b94944c009fba 100644
--- a/remoting/webapp/crd/js/host_screen.js
+++ b/remoting/webapp/crd/js/host_screen.js
@@ -76,7 +76,7 @@ remoting.startHostUsingFacade_ = function(hostFacade) {
console.log('Attempting to share...');
remoting.identity.getToken().then(
remoting.tryShareWithToken_.bind(null, hostFacade),
- remoting.Error.handler(remoting.showErrorMessage));
+ remoting.Error.handler(remoting.app.onAuthError.bind(remoting.app)));
}
/**

Powered by Google App Engine
This is Rietveld 408576698