| Index: remoting/webapp/base/js/connection_stats.js
|
| diff --git a/remoting/webapp/base/js/connection_stats.js b/remoting/webapp/base/js/connection_stats.js
|
| index 7ab1652f597d5b66cc8aee21bb4333dccc527d40..d24940cfe9c2a2b33558e30293f4833cea3c8118 100644
|
| --- a/remoting/webapp/base/js/connection_stats.js
|
| +++ b/remoting/webapp/base/js/connection_stats.js
|
| @@ -37,13 +37,14 @@ remoting.ConnectionStats = function(statsElement, plugin) {
|
| that.update(plugin.getPerfStats());
|
| }, 1000, true);
|
|
|
| - remoting.windowShape.addCallback(this);
|
| + remoting.windowShape.registerClientUI(this);
|
| };
|
|
|
| remoting.ConnectionStats.prototype.dispose = function() {
|
| base.dispose(this.timer_);
|
| this.timer_ = null;
|
| this.plugin_ = null;
|
| + remoting.windowShape.unregisterClientUI(this);
|
| };
|
|
|
| /**
|
|
|