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 3cfaa267e117a453a7dc2d38edc58e9efb310ad5..ea1450678c46e13af3507e9363a63b2eedf1526b 100644 |
--- a/remoting/webapp/crd/js/host_screen.js |
+++ b/remoting/webapp/crd/js/host_screen.js |
@@ -125,7 +125,7 @@ remoting.tryShareWithToken_ = function(hostFacade, token) { |
function(/** string */ email) { |
hostSession_.connect( |
hostFacade, email, token, onHostStateChanged_, |
- onNatTraversalPolicyChanged_, logDebugInfo_, it2meConnectFailed_); |
+ onNatTraversalPolicyChanged_, logDebugInfo_, showShareError_); |
}); |
}; |
@@ -247,15 +247,6 @@ function showShareError_(error) { |
cleanUp(); |
} |
-/** |
- * Show a sharing error with error code UNEXPECTED . |
- * |
- * @return {void} Nothing. |
- */ |
-function it2meConnectFailed_() { |
- showShareError_(remoting.Error.unexpected()); |
-} |
- |
function cleanUp() { |
base.dispose(hostSession_); |
hostSession_ = null; |