mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Bug 1169791 - Strongly type NoteJSRoot; r=mccr8
--HG-- extra : rebase_source : 44b4b6ecb67677caf3180b353fc828c972d4e1f9
This commit is contained in:
parent
cd2309bb9d
commit
760b29c216
@ -2069,7 +2069,7 @@ private:
|
||||
public:
|
||||
// nsCycleCollectionNoteRootCallback methods.
|
||||
NS_IMETHOD_(void) NoteXPCOMRoot(nsISupports* aRoot);
|
||||
NS_IMETHOD_(void) NoteJSRoot(void* aRoot);
|
||||
NS_IMETHOD_(void) NoteJSRoot(JSObject* aRoot);
|
||||
NS_IMETHOD_(void) NoteNativeRoot(void* aRoot,
|
||||
nsCycleCollectionParticipant* aParticipant);
|
||||
NS_IMETHOD_(void) NoteWeakMapping(JSObject* aMap, JS::GCCellPtr aKey,
|
||||
@ -2273,7 +2273,7 @@ CCGraphBuilder::NoteXPCOMRoot(nsISupports* aRoot)
|
||||
}
|
||||
|
||||
NS_IMETHODIMP_(void)
|
||||
CCGraphBuilder::NoteJSRoot(void* aRoot)
|
||||
CCGraphBuilder::NoteJSRoot(JSObject* aRoot)
|
||||
{
|
||||
if (JS::Zone* zone = MergeZone(aRoot)) {
|
||||
NoteRoot(zone, mJSZoneParticipant);
|
||||
|
@ -14,7 +14,7 @@ class nsCycleCollectionNoteRootCallback
|
||||
{
|
||||
public:
|
||||
NS_IMETHOD_(void) NoteXPCOMRoot(nsISupports* aRoot) = 0;
|
||||
NS_IMETHOD_(void) NoteJSRoot(void* aRoot) = 0;
|
||||
NS_IMETHOD_(void) NoteJSRoot(JSObject* aRoot) = 0;
|
||||
NS_IMETHOD_(void) NoteNativeRoot(void* aRoot,
|
||||
nsCycleCollectionParticipant* aParticipant) = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user