Index: remoting/webapp/crd/js/client_plugin_impl.js |
diff --git a/remoting/webapp/crd/js/client_plugin_impl.js b/remoting/webapp/crd/js/client_plugin_impl.js |
index 28a973d1edae21ec69f6d864e0e4497172742a36..867fc519f43603c0d6b1a92338869898ddd98f42 100644 |
--- a/remoting/webapp/crd/js/client_plugin_impl.js |
+++ b/remoting/webapp/crd/js/client_plugin_impl.js |
@@ -292,7 +292,7 @@ remoting.ClientPluginImpl.prototype.setFetchPinHandler = function(handler) { |
remoting.ClientPluginImpl.prototype.handleMessage_ = function(rawMessage) { |
var message = |
/** @type {{method:string, data:Object.<string,*>}} */ |
- ((typeof(rawMessage) == 'string') ? jsonParseSafe(rawMessage) |
+ ((typeof(rawMessage) == 'string') ? base.jsonParseSafe(rawMessage) |
: rawMessage); |
if (!message || !('method' in message) || !('data' in message)) { |
console.error('Received invalid message from the plugin:', rawMessage); |