Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions]; r=smaug
MozReview-Commit-ID: HgbFo9ddr0o
This commit is contained in:
@@ -230,6 +230,12 @@ HTMLOptionsCollection::GetParentObject()
|
||||
return mSelect;
|
||||
}
|
||||
|
||||
DocGroup*
|
||||
HTMLOptionsCollection::GetDocGroup() const
|
||||
{
|
||||
return mSelect ? mSelect->GetDocGroup() : nullptr;
|
||||
}
|
||||
|
||||
void
|
||||
HTMLOptionsCollection::GetSupportedNames(nsTArray<nsString>& aNames)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user