summaryrefslogtreecommitdiffstats
path: root/remoting/webapp
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/webapp')
-rw-r--r--remoting/webapp/client_plugin.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/remoting/webapp/client_plugin.js b/remoting/webapp/client_plugin.js
index 60cb6cb..4826d8b 100644
--- a/remoting/webapp/client_plugin.js
+++ b/remoting/webapp/client_plugin.js
@@ -359,8 +359,9 @@ remoting.ClientPlugin.prototype.handleMessage_ = function(rawMessage) {
console.log('Got echo reply: ' + message.data['data']);
break;
default:
- if (!this.onExtensionMessage_(message.data['type'],
- message.data['data'])) {
+ if (!this.onExtensionMessage_(
+ (/** @type {string} */ message.data['type']),
+ (/** @type {string} */ message.data['data']))) {
console.log('Unexpected message received: ' +
message.data['type'] + ': ' + message.data['data']);
}