mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 887081 - Attach healthreporter to global object. r=gps
This commit is contained in:
parent
2337bf0001
commit
ba46a76f9c
@ -1142,7 +1142,7 @@ AbstractHealthReporter.prototype = Object.freeze({
|
||||
* @param policy
|
||||
* (HealthReportPolicy) Policy driving execution of HealthReporter.
|
||||
*/
|
||||
function HealthReporter(branch, policy, sessionRecorder, stateLeaf=null) {
|
||||
this.HealthReporter = function (branch, policy, sessionRecorder, stateLeaf=null) {
|
||||
this._stateLeaf = stateLeaf;
|
||||
|
||||
AbstractHealthReporter.call(this, branch, policy, sessionRecorder);
|
||||
@ -1158,7 +1158,7 @@ function HealthReporter(branch, policy, sessionRecorder, stateLeaf=null) {
|
||||
this._state = new HealthReporterState(this);
|
||||
}
|
||||
|
||||
HealthReporter.prototype = Object.freeze({
|
||||
this.HealthReporter.prototype = Object.freeze({
|
||||
__proto__: AbstractHealthReporter.prototype,
|
||||
|
||||
QueryInterface: XPCOMUtils.generateQI([Ci.nsIObserver]),
|
||||
|
Loading…
Reference in New Issue
Block a user