Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
This commit is contained in:
@@ -1693,8 +1693,9 @@ nsMemoryReporterManager::GetReportsExtended(
|
||||
aDMDDumpIdent);
|
||||
|
||||
if (aMinimize) {
|
||||
rv = MinimizeMemoryUsage(NS_NewRunnableMethod(
|
||||
this, &nsMemoryReporterManager::StartGettingReports));
|
||||
nsCOMPtr<nsIRunnable> callback =
|
||||
NewRunnableMethod(this, &nsMemoryReporterManager::StartGettingReports);
|
||||
rv = MinimizeMemoryUsage(callback);
|
||||
} else {
|
||||
rv = StartGettingReports();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user