diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2020-01-19 21:22:39 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2020-01-26 15:50:44 -0500 |
commit | a0014ac6e9e751f9f9bf68c1a345394bbcfd096f (patch) | |
tree | 6a7190495965549a03736feb6edc0b6a19e42da0 /dom/base/nsContentCreatorFunctions.h | |
parent | dd6749f7ddd4db014fb7d76a9b698d07f2b859f5 (diff) | |
download | UXP-a0014ac6e9e751f9f9bf68c1a345394bbcfd096f.tar UXP-a0014ac6e9e751f9f9bf68c1a345394bbcfd096f.tar.gz UXP-a0014ac6e9e751f9f9bf68c1a345394bbcfd096f.tar.lz UXP-a0014ac6e9e751f9f9bf68c1a345394bbcfd096f.tar.xz UXP-a0014ac6e9e751f9f9bf68c1a345394bbcfd096f.zip |
Bug 1378079 - Part 3: Complete the steps related to custom elements in "create an element for a token".
With fixup for missing header due to unified builds.
Tag UXP Issue #1344
Diffstat (limited to 'dom/base/nsContentCreatorFunctions.h')
-rw-r--r-- | dom/base/nsContentCreatorFunctions.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dom/base/nsContentCreatorFunctions.h b/dom/base/nsContentCreatorFunctions.h index 9576d9ba8..a5c210500 100644 --- a/dom/base/nsContentCreatorFunctions.h +++ b/dom/base/nsContentCreatorFunctions.h @@ -24,6 +24,7 @@ namespace mozilla { namespace dom { class Element; class NodeInfo; +struct CustomElementDefinition; } // namespace dom } // namespace mozilla @@ -41,7 +42,8 @@ nsresult NS_NewHTMLElement(mozilla::dom::Element** aResult, already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo, mozilla::dom::FromParser aFromParser, - const nsAString* aIs = nullptr); + const nsAString* aIs = nullptr, + mozilla::dom::CustomElementDefinition* aDefinition = nullptr); // First argument should be nsHTMLTag, but that adds dependency to parser // for a bunch of files. |