diff --git a/services/sync/modules/engines/forms.js b/services/sync/modules/engines/forms.js index eab81b71d78..4d49adb1915 100644 --- a/services/sync/modules/engines/forms.js +++ b/services/sync/modules/engines/forms.js @@ -245,5 +245,5 @@ FormsTracker.prototype = { this._rowCount = stmnt.getInt32(0); stmnt.reset(); } -} +}; FormsTracker.prototype.__proto__ = new Tracker(); diff --git a/services/sync/modules/engines/passwords.js b/services/sync/modules/engines/passwords.js index a2fe5adc648..bcf1a3312f1 100644 --- a/services/sync/modules/engines/passwords.js +++ b/services/sync/modules/engines/passwords.js @@ -43,6 +43,7 @@ Cu.import("resource://weave/async.js"); Cu.import("resource://weave/engines.js"); Cu.import("resource://weave/syncCores.js"); Cu.import("resource://weave/stores.js"); +Cu.import("resource://weave/trackers.js"); Function.prototype.async = Async.sugar; @@ -239,7 +240,8 @@ PasswordTracker.prototype = { }, _init: function PasswordTracker__init() { - this._log = Log4Moz.Service.getLogger("Service." this._logName); + this._log = Log4Moz.Service.getLogger("Service." + this._logName); this._loginCount = this._loginManager.countLogins("", "", ""); } -} +}; +PasswordTracker.prototype.__proto__ = new Tracker();