mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 08:27:31 +09:00
Implement cycle collection support for the Visual Viewport API
This commit is contained in:
parent
4f930f103b
commit
46a5a2a57a
3 changed files with 21 additions and 0 deletions
|
|
@ -21,6 +21,9 @@ class VisualViewport final: public mozilla::DOMEventTargetHelper
|
|||
{
|
||||
|
||||
public:
|
||||
NS_DECL_ISUPPORTS_INHERITED
|
||||
NS_DECL_CYCLE_COLLECTION_CLASS_INHERITED(VisualViewport, DOMEventTargetHelper)
|
||||
|
||||
explicit VisualViewport(nsPIDOMWindowInner* aWindow);
|
||||
explicit VisualViewport(nsIGlobalObject* aGlobal);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue