Index: remoting/webapp/crd/js/wcs_sandbox_container.js |
diff --git a/remoting/webapp/crd/js/wcs_sandbox_container.js b/remoting/webapp/crd/js/wcs_sandbox_container.js |
index c39759879cbab9deb153b70e2adcb05b13b99abc..875bbc4b6cb0c6eee9c8cd615f56832dba46aa22 100644 |
--- a/remoting/webapp/crd/js/wcs_sandbox_container.js |
+++ b/remoting/webapp/crd/js/wcs_sandbox_container.js |
@@ -25,7 +25,7 @@ remoting.WcsSandboxContainer = function(sandbox) { |
/** @type {?function(string):void} |
* @private */ |
this.onConnected_ = null; |
- /** @type {function(remoting.Error):void} |
+ /** @type {function(!remoting.Error):void} |
* @private */ |
this.onError_ = function(error) {}; |
/** @type {?function(string):void} |
@@ -53,7 +53,7 @@ remoting.WcsSandboxContainer = function(sandbox) { |
/** |
* @param {function(string):void} onConnected Callback to be called when WCS is |
* connected. May be called synchronously if WCS is already connected. |
- * @param {function(remoting.Error):void} onError called in case of an error. |
+ * @param {function(!remoting.Error):void} onError called in case of an error. |
* @return {void} Nothing. |
*/ |
remoting.WcsSandboxContainer.prototype.connect = function( |
@@ -151,7 +151,7 @@ remoting.WcsSandboxContainer.prototype.onMessage_ = function(event) { |
break; |
case 'onError': |
- /** @type {remoting.Error} */ |
+ /** @type {!remoting.Error} */ |
var error = event.data['error']; |
if (error === undefined) { |
console.error('onError: missing error code'); |