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

Unified Diff: remoting/webapp/client_plugin_async.js

Issue 10796097: [Chromoting] Fix jscompiler warnings in client_plugin_async.js (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/client_plugin_async.js
diff --git a/remoting/webapp/client_plugin_async.js b/remoting/webapp/client_plugin_async.js
index 744d223cb3fce7e267c5f8fb3dd09aef535a34f3..9c21df095f76c84f240da6f5989aa5d22d13d956 100644
--- a/remoting/webapp/client_plugin_async.js
+++ b/remoting/webapp/client_plugin_async.js
@@ -203,7 +203,8 @@ remoting.ClientPluginAsync.prototype.handleMessage_ = function(messageStr) {
console.error('Received incorrect onConnectionReady message.');
return;
}
- this.onConnectionReadyHandler(message.data['ready']);
+ var ready = /** @type {boolean} */ message.data['ready'];
+ this.onConnectionReadyHandler(ready);
Sergey Ulanov 2012/07/23 21:39:34 Might be better to write like this: this.onConne
garykac 2012/07/23 22:45:25 I tried that first and it didn't work. Not sure wh
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698