1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 13:58:49 +00:00

Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions]

Tag #1375
This commit is contained in:
Matt A. Tobin
2020-04-17 07:29:57 -04:00
committed by Roy Tam
parent fc8fcfc039
commit ca09afd0b0
30 changed files with 206 additions and 44 deletions
+6
View File
@@ -62,6 +62,12 @@ nsDOMStringMap::~nsDOMStringMap()
}
}
DocGroup*
nsDOMStringMap::GetDocGroup() const
{
return mElement ? mElement->GetDocGroup() : nullptr;
}
/* virtual */
JSObject*
nsDOMStringMap::WrapObject(JSContext *cx, JS::Handle<JSObject*> aGivenProto)