ported from UXP: Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions] (ca09afd0)

This commit is contained in:
2022-04-14 17:25:12 +08:00
parent 1f9aa57a08
commit 1915900ba4
33 changed files with 233 additions and 44 deletions
+2
View File
@@ -23,6 +23,7 @@ class nsIDOMHTMLOptionElement;
namespace mozilla {
namespace dom {
class DocGroup;
class HTMLElementOrLong;
class HTMLOptionElementOrHTMLOptGroupElement;
class HTMLSelectElement;
@@ -62,6 +63,7 @@ public:
virtual Element* GetElementAt(uint32_t aIndex) override;
virtual nsINode* GetParentObject() override;
DocGroup* GetDocGroup() const;
NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS_AMBIGUOUS(HTMLOptionsCollection,
nsIHTMLCollection)