summaryrefslogtreecommitdiffstats
path: root/parser/html/nsHtml5TreeBuilderCppSupplement.h
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-01-18 16:32:18 -0500
committerGaming4JC <g4jc@hyperbola.info>2020-01-26 15:50:37 -0500
commit5d4200f56df55774dcc94df431cc67fe65b674ed (patch)
tree09cb2550b17d0c925cfb3514b8699ffdc903fc4d /parser/html/nsHtml5TreeBuilderCppSupplement.h
parent41e477e2ce2d00a793adc6f8ba85540e02275e5f (diff)
downloadUXP-5d4200f56df55774dcc94df431cc67fe65b674ed.tar
UXP-5d4200f56df55774dcc94df431cc67fe65b674ed.tar.gz
UXP-5d4200f56df55774dcc94df431cc67fe65b674ed.tar.lz
UXP-5d4200f56df55774dcc94df431cc67fe65b674ed.tar.xz
UXP-5d4200f56df55774dcc94df431cc67fe65b674ed.zip
Bug 1358037 - Inline the methods of nsHtml5ElementName and nsHtml5AttributeName.
Manual changes Tag UXP Issue #1344
Diffstat (limited to 'parser/html/nsHtml5TreeBuilderCppSupplement.h')
-rw-r--r--parser/html/nsHtml5TreeBuilderCppSupplement.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/parser/html/nsHtml5TreeBuilderCppSupplement.h b/parser/html/nsHtml5TreeBuilderCppSupplement.h
index aacc5a3e0..6121c6186 100644
--- a/parser/html/nsHtml5TreeBuilderCppSupplement.h
+++ b/parser/html/nsHtml5TreeBuilderCppSupplement.h
@@ -173,7 +173,7 @@ nsHtml5TreeBuilder::createElement(int32_t aNamespace, nsIAtom* aName,
type,
crossOrigin,
integrity,
- mode == NS_HTML5TREE_BUILDER_IN_HEAD);
+ mode == nsHtml5TreeBuilder::IN_HEAD);
mCurrentHtmlScriptIsAsyncOrDefer =
aAttributes->contains(nsHtml5AttributeName::ATTR_ASYNC) ||
aAttributes->contains(nsHtml5AttributeName::ATTR_DEFER);
@@ -279,7 +279,7 @@ nsHtml5TreeBuilder::createElement(int32_t aNamespace, nsIAtom* aName,
type,
crossOrigin,
integrity,
- mode == NS_HTML5TREE_BUILDER_IN_HEAD);
+ mode == nsHtml5TreeBuilder::IN_HEAD);
}
} else if (nsHtml5Atoms::style == aName) {
nsHtml5TreeOperation* treeOp = mOpQueue.AppendElement();