summaryrefslogtreecommitdiffstats
path: root/parser
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-02-15 13:24:38 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-02-15 13:24:38 +0100
commit39a3d75915ae6a150c4a2402210afea59bae0b15 (patch)
tree5a6ec08450b436a2f4a5bf93ef3faf3a9d635393 /parser
parent1a6fa0b0956700db90d8ebbfbe73a1fce12556cf (diff)
parent9600e2dc87ca84994ef2867ae1e81428da05cd06 (diff)
downloadUXP-39a3d75915ae6a150c4a2402210afea59bae0b15.tar
UXP-39a3d75915ae6a150c4a2402210afea59bae0b15.tar.gz
UXP-39a3d75915ae6a150c4a2402210afea59bae0b15.tar.lz
UXP-39a3d75915ae6a150c4a2402210afea59bae0b15.tar.xz
UXP-39a3d75915ae6a150c4a2402210afea59bae0b15.zip
Merge branch 'release' into Basilisk-releasev2020.02.18
Diffstat (limited to 'parser')
-rw-r--r--parser/html/nsHtml5TreeBuilder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/parser/html/nsHtml5TreeBuilder.cpp b/parser/html/nsHtml5TreeBuilder.cpp
index a02626e47..b1225130a 100644
--- a/parser/html/nsHtml5TreeBuilder.cpp
+++ b/parser/html/nsHtml5TreeBuilder.cpp
@@ -141,8 +141,6 @@ nsHtml5TreeBuilder::startTokenization(nsHtml5Tokenizer* self)
tokenizer->setState(NS_HTML5TOKENIZER_DATA);
}
}
- contextName = nullptr;
- contextNode = nullptr;
} else {
mode = NS_HTML5TREE_BUILDER_INITIAL;
if (tokenizer->isViewingXmlSource()) {
@@ -581,6 +579,8 @@ nsHtml5TreeBuilder::endTokenization()
{
formPointer = nullptr;
headPointer = nullptr;
+ contextName = nullptr;
+ contextNode = nullptr;
deepTreeSurrogateParent = nullptr;
templateModeStack = nullptr;
if (stack) {