mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Bug 1153373 - Move AppendStrongObservers() function definition behind #ifndef MOZILLA_XPCOMRT_API. r=froydnj
This commit is contained in:
parent
fa3e955d12
commit
46e1fddec4
@ -188,7 +188,6 @@ nsObserverService::CollectReports(nsIHandleReportCallback* aHandleReport,
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// nsObserverService Implementation
|
||||
|
||||
|
||||
NS_IMPL_ISUPPORTS(nsObserverService,
|
||||
nsIObserverService,
|
||||
nsObserverService,
|
||||
@ -345,6 +344,7 @@ NS_IMETHODIMP nsObserverService::NotifyObservers(nsISupports* aSubject,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
#if !defined(MOZILLA_XPCOMRT_API)
|
||||
static PLDHashOperator
|
||||
AppendStrongObservers(nsObserverList* aObserverList, void* aClosure)
|
||||
{
|
||||
@ -355,6 +355,7 @@ AppendStrongObservers(nsObserverList* aObserverList, void* aClosure)
|
||||
}
|
||||
return PL_DHASH_NEXT;
|
||||
}
|
||||
#endif // !defined(MOZILLA_XPCOMRT_API)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsObserverService::UnmarkGrayStrongObservers()
|
||||
@ -372,4 +373,3 @@ nsObserverService::UnmarkGrayStrongObservers()
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user