| Index: chrome/browser/resources/gaia_auth/channel.js
|
| diff --git a/chrome/browser/resources/gaia_auth/channel.js b/chrome/browser/resources/gaia_auth/channel.js
|
| index 52094b9d925f62c141036f2ac53c37b04cdba371..2f6ce2101e623b7ab8cf19e1d121017ca055535d 100644
|
| --- a/chrome/browser/resources/gaia_auth/channel.js
|
| +++ b/chrome/browser/resources/gaia_auth/channel.js
|
| @@ -6,6 +6,8 @@
|
| * Channel to the background script.
|
| */
|
| function Channel() {
|
| + this.messageCallbacks_ = {};
|
| + this.internalRequestCallbacks_ = {};
|
| }
|
|
|
| /** @const */
|
| @@ -19,13 +21,13 @@ Channel.prototype = {
|
| port_: null,
|
|
|
| // Registered message callbacks.
|
| - messageCallbacks_: {},
|
| + messageCallbacks_: null,
|
|
|
| // Internal request id to track pending requests.
|
| nextInternalRequestId_: 0,
|
|
|
| // Pending internal request callbacks.
|
| - internalRequestCallbacks_: {},
|
| + internalRequestCallbacks_: null,
|
|
|
| /**
|
| * Initialize the channel with given port for the background script.
|
|
|