Bug 1141689 - use services::GetObserverService more; r=ehsan
This commit is contained in:
@@ -1291,8 +1291,7 @@ nsMemoryReporterManager::GetReportsExtended(
|
||||
// Request memory reports from child processes. We do this *before*
|
||||
// collecting reports for this process so each process can collect
|
||||
// reports in parallel.
|
||||
nsCOMPtr<nsIObserverService> obs =
|
||||
do_GetService("@mozilla.org/observer-service;1");
|
||||
nsCOMPtr<nsIObserverService> obs = services::GetObserverService();
|
||||
NS_ENSURE_STATE(obs);
|
||||
|
||||
nsPrintfCString genStr("generation=%x anonymize=%d minimize=%d DMDident=",
|
||||
|
||||
Reference in New Issue
Block a user