From d6fd1542e92541612896d38540e01b29831cd6ee Mon Sep 17 00:00:00 2001 From: Gregory Szorc Date: Wed, 9 Jan 2013 12:10:31 -0800 Subject: [PATCH] Bug 828101 - Initialize Firefox Health Report after session restore; r=rnewman --- services/healthreport/HealthReportService.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/healthreport/HealthReportService.js b/services/healthreport/HealthReportService.js index f8d8c3f52178..8d29c9664f8f 100644 --- a/services/healthreport/HealthReportService.js +++ b/services/healthreport/HealthReportService.js @@ -70,11 +70,11 @@ HealthReportService.prototype = { switch (topic) { case "app-startup": - os.addObserver(this, "final-ui-startup", true); + os.addObserver(this, "sessionstore-windows-restored", true); break; - case "final-ui-startup": - os.removeObserver(this, "final-ui-startup"); + case "sessionstore-windows-restored": + os.removeObserver(this, "sessionstore-windows-restored"); let delayInterval = this._prefs.get("service.loadDelayMsec") || DEFAULT_LOAD_DELAY_MSEC;