mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 05:39:41 +02:00
Bug 1270628 - Stop using content-child-shutdown observer in nsPerformanceStats (r=Yoric)
This commit is contained in:
parent
efab9ca4b1
commit
ee661f78d3
1 changed files with 0 additions and 3 deletions
|
|
@ -711,7 +711,6 @@ nsPerformanceStatsService::Dispose()
|
||||||
obs->RemoveObserver(this, "profile-before-change");
|
obs->RemoveObserver(this, "profile-before-change");
|
||||||
obs->RemoveObserver(this, "quit-application");
|
obs->RemoveObserver(this, "quit-application");
|
||||||
obs->RemoveObserver(this, "quit-application-granted");
|
obs->RemoveObserver(this, "quit-application-granted");
|
||||||
obs->RemoveObserver(this, "content-child-shutdown");
|
|
||||||
obs->RemoveObserver(this, "xpcom-will-shutdown");
|
obs->RemoveObserver(this, "xpcom-will-shutdown");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -784,7 +783,6 @@ nsPerformanceStatsService::InitInternal()
|
||||||
obs->AddObserver(this, "profile-before-change", false);
|
obs->AddObserver(this, "profile-before-change", false);
|
||||||
obs->AddObserver(this, "quit-application-granted", false);
|
obs->AddObserver(this, "quit-application-granted", false);
|
||||||
obs->AddObserver(this, "quit-application", false);
|
obs->AddObserver(this, "quit-application", false);
|
||||||
obs->AddObserver(this, "content-child-shutdown", false);
|
|
||||||
obs->AddObserver(this, "xpcom-will-shutdown", false);
|
obs->AddObserver(this, "xpcom-will-shutdown", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -813,7 +811,6 @@ nsPerformanceStatsService::Observe(nsISupports *aSubject, const char *aTopic,
|
||||||
MOZ_ASSERT(strcmp(aTopic, "profile-before-change") == 0
|
MOZ_ASSERT(strcmp(aTopic, "profile-before-change") == 0
|
||||||
|| strcmp(aTopic, "quit-application") == 0
|
|| strcmp(aTopic, "quit-application") == 0
|
||||||
|| strcmp(aTopic, "quit-application-granted") == 0
|
|| strcmp(aTopic, "quit-application-granted") == 0
|
||||||
|| strcmp(aTopic, "content-child-shutdown") == 0
|
|
||||||
|| strcmp(aTopic, "xpcom-will-shutdown") == 0);
|
|| strcmp(aTopic, "xpcom-will-shutdown") == 0);
|
||||||
|
|
||||||
Dispose();
|
Dispose();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue