ported from UXP: Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElement (f85b274e)

This commit is contained in:
2022-04-15 11:43:57 +08:00
parent b5874ca986
commit b80c8a551b
50 changed files with 553 additions and 513 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ HTMLScriptElement::WrapNode(JSContext *aCx, JS::Handle<JSObject*> aGivenProto)
HTMLScriptElement::HTMLScriptElement(already_AddRefed<mozilla::dom::NodeInfo>& aNodeInfo,
FromParser aFromParser)
: nsGenericHTMLElement(aNodeInfo)
, nsScriptElement(aFromParser)
, ScriptElement(aFromParser)
{
AddMutationObserver(this);
}