Chromium Code Reviews| 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
|
| } |
| } |