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 c2ba6c09f175546cf0d0e7c83c0df9309feeb5b4..c9b2144ca914daf0bdc5440b66b4df6d3c6e589d 100644 |
--- a/remoting/webapp/crd/js/client_plugin_impl.js |
+++ b/remoting/webapp/crd/js/client_plugin_impl.js |
@@ -250,6 +250,9 @@ remoting.ClientPluginImpl.prototype.handleMessageMethod_ = function(message) { |
base.getStringAttr(message.data, 'capabilities')); |
handler.onSetCapabilities(capabilities); |
+ } else if (message.method == 'onFirstFrameReceived') { |
+ handler.onFirstFrameReceived(); |
+ |
} |
} |
@@ -311,11 +314,6 @@ remoting.ClientPluginImpl.prototype.handleMessageMethod_ = function(message) { |
var item = base.getStringAttr(message.data, 'item'); |
this.updateClipboardData_(mimetype, item); |
- } else if (message.method == 'onFirstFrameReceived') { |
- if (remoting.clientSession) { |
- remoting.clientSession.onFirstFrameReceived(); |
- } |
- |
} else if (message.method == 'fetchPin') { |
// The pairingSupported value in the dictionary indicates whether both |
// client and host support pairing. If the client doesn't support pairing, |