mirror of
https://github.com/ManchildProductions/UXP-Fixed.git
synced 2026-06-23 15:38:42 +00:00
Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions]
Tag #1375
This commit is contained in:
@@ -239,6 +239,12 @@ HTMLOptionsCollection::GetParentObject()
|
||||
return mSelect;
|
||||
}
|
||||
|
||||
DocGroup*
|
||||
HTMLOptionsCollection::GetDocGroup() const
|
||||
{
|
||||
return mSelect ? mSelect->GetDocGroup() : nullptr;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
HTMLOptionsCollection::NamedItem(const nsAString& aName,
|
||||
nsIDOMNode** aReturn)
|
||||
|
||||
Reference in New Issue
Block a user