mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions]
Tag #1375
This commit is contained in:
parent
fc8fcfc039
commit
ca09afd0b0
30 changed files with 206 additions and 44 deletions
|
|
@ -366,6 +366,12 @@ nsDOMTokenList::Stringify(nsAString& aResult)
|
|||
mElement->GetAttr(kNameSpaceID_None, mAttrAtom, aResult);
|
||||
}
|
||||
|
||||
DocGroup*
|
||||
nsDOMTokenList::GetDocGroup() const
|
||||
{
|
||||
return mElement ? mElement->OwnerDoc()->GetDocGroup() : nullptr;
|
||||
}
|
||||
|
||||
JSObject*
|
||||
nsDOMTokenList::WrapObject(JSContext *cx, JS::Handle<JSObject*> aGivenProto)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue