mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 814898 - Part b: Cleanup CC goop in dom/base; r=mccr8
This commit is contained in:
parent
97acb14a5a
commit
c52fc7b5f2
@ -133,23 +133,13 @@ NS_INTERFACE_MAP_END
|
|||||||
NS_IMPL_CYCLE_COLLECTING_ADDREF(nsFocusManager)
|
NS_IMPL_CYCLE_COLLECTING_ADDREF(nsFocusManager)
|
||||||
NS_IMPL_CYCLE_COLLECTING_RELEASE(nsFocusManager)
|
NS_IMPL_CYCLE_COLLECTING_RELEASE(nsFocusManager)
|
||||||
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_CLASS(nsFocusManager)
|
NS_IMPL_CYCLE_COLLECTION_6(nsFocusManager,
|
||||||
NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN(nsFocusManager)
|
mActiveWindow,
|
||||||
NS_IMPL_CYCLE_COLLECTION_UNLINK(mActiveWindow)
|
mFocusedWindow,
|
||||||
NS_IMPL_CYCLE_COLLECTION_UNLINK(mFocusedWindow)
|
mFocusedContent,
|
||||||
NS_IMPL_CYCLE_COLLECTION_UNLINK(mFocusedContent)
|
mFirstBlurEvent,
|
||||||
NS_IMPL_CYCLE_COLLECTION_UNLINK(mFirstBlurEvent)
|
mFirstFocusEvent,
|
||||||
NS_IMPL_CYCLE_COLLECTION_UNLINK(mFirstFocusEvent)
|
mWindowBeingLowered)
|
||||||
NS_IMPL_CYCLE_COLLECTION_UNLINK(mWindowBeingLowered)
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_UNLINK_END
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsFocusManager)
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mActiveWindow)
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mFocusedWindow)
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mFocusedContent)
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mFirstBlurEvent)
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mFirstFocusEvent)
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mWindowBeingLowered)
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END
|
|
||||||
|
|
||||||
nsFocusManager* nsFocusManager::sInstance = nullptr;
|
nsFocusManager* nsFocusManager::sInstance = nullptr;
|
||||||
bool nsFocusManager::sMouseFocusesFormControl = false;
|
bool nsFocusManager::sMouseFocusesFormControl = false;
|
||||||
|
@ -90,15 +90,7 @@ nsScreen::~nsScreen()
|
|||||||
|
|
||||||
DOMCI_DATA(Screen, nsScreen)
|
DOMCI_DATA(Screen, nsScreen)
|
||||||
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_CLASS(nsScreen)
|
NS_IMPL_CYCLE_COLLECTION_INHERITED_0(nsScreen, nsDOMEventTargetHelper)
|
||||||
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED(nsScreen,
|
|
||||||
nsDOMEventTargetHelper)
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END
|
|
||||||
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN_INHERITED(nsScreen,
|
|
||||||
nsDOMEventTargetHelper)
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_UNLINK_END
|
|
||||||
|
|
||||||
// QueryInterface implementation for nsScreen
|
// QueryInterface implementation for nsScreen
|
||||||
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(nsScreen)
|
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(nsScreen)
|
||||||
|
@ -39,19 +39,10 @@ nsWindowRoot::~nsWindowRoot()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_CLASS(nsWindowRoot)
|
NS_IMPL_CYCLE_COLLECTION_3(nsWindowRoot,
|
||||||
|
mListenerManager,
|
||||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsWindowRoot)
|
mPopupNode,
|
||||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mListenerManager)
|
mParent)
|
||||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mPopupNode)
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mParent)
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END
|
|
||||||
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN(nsWindowRoot)
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_UNLINK(mListenerManager)
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_UNLINK(mPopupNode)
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_UNLINK(mParent)
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END
|
|
||||||
|
|
||||||
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsWindowRoot)
|
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(nsWindowRoot)
|
||||||
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMEventTarget)
|
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMEventTarget)
|
||||||
|
Loading…
Reference in New Issue
Block a user