mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1184822 - Use classId to get provider. r=fabrice
This commit is contained in:
parent
34a3a54a18
commit
3f872986d2
@ -27,7 +27,7 @@ XPCOMUtils.defineLazyServiceGetter(this, "ppmm",
|
||||
|
||||
function ActiveProvider(aProvider) {
|
||||
this.id = aProvider.id;
|
||||
this._instance = Cc[aProvider.contractId].getService(Ci.nsISystemUpdateProvider);
|
||||
this._instance = Components.classesByID[aProvider.id].getService(Ci.nsISystemUpdateProvider);
|
||||
this._instance.setListener(this);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user