mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
[Parser] Move setting context to null to the correct location.
This commit is contained in:
parent
e58f92ba6e
commit
140bd4d265
2 changed files with 4 additions and 4 deletions
|
|
@ -141,8 +141,6 @@ nsHtml5TreeBuilder::startTokenization(nsHtml5Tokenizer* self)
|
|||
tokenizer->setState(nsHtml5Tokenizer::DATA);
|
||||
}
|
||||
}
|
||||
contextName = nullptr;
|
||||
contextNode = nullptr;
|
||||
} else {
|
||||
mode = INITIAL;
|
||||
if (tokenizer->isViewingXmlSource()) {
|
||||
|
|
@ -578,6 +576,8 @@ nsHtml5TreeBuilder::endTokenization()
|
|||
{
|
||||
formPointer = nullptr;
|
||||
headPointer = nullptr;
|
||||
contextName = nullptr;
|
||||
contextNode = nullptr;
|
||||
deepTreeSurrogateParent = nullptr;
|
||||
templateModeStack = nullptr;
|
||||
if (stack) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue