Chromium Code Reviews| Index: remoting/webapp/host_controller.js |
| diff --git a/remoting/webapp/host_controller.js b/remoting/webapp/host_controller.js |
| index 21485b12554416ca61e847505cb4114697aa27f6..628b82398c1b79e6c9f07c5152356a4de33800ba 100644 |
| --- a/remoting/webapp/host_controller.js |
| +++ b/remoting/webapp/host_controller.js |
| @@ -15,6 +15,10 @@ remoting.HostController = function() { |
| /** @type {HTMLElement} @private */ |
| var container = document.getElementById('daemon-plugin-container'); |
| container.appendChild(plugin); |
| + if (plugin.getDaemonState === undefined) { |
|
weitao
2014/01/31 18:37:11
Remoting.js uses a different way of detecting the
Sergey Ulanov
2014/01/31 23:34:17
It's essentially the same, except we are using dif
|
| + container.removeChild(plugin); |
| + return null; |
| + } |
| return plugin; |
| }; |