mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
Reverted leftovers from commit "ported mozilla upstream change: Bug 1355441 - Reuse StackNode in TreeBuilder to avoid malloc. r=hsivonen."
This commit is contained in:
parent
2b2df633f6
commit
d39d2b841f
2 changed files with 2 additions and 32 deletions
|
|
@ -163,11 +163,11 @@ nsHtml5StateSnapshot::~nsHtml5StateSnapshot()
|
|||
{
|
||||
MOZ_COUNT_DTOR(nsHtml5StateSnapshot);
|
||||
for (int32_t i = 0; i < stack.length; i++) {
|
||||
stack[i]->release(nullptr);
|
||||
stack[i]->release();
|
||||
}
|
||||
for (int32_t i = 0; i < listOfActiveFormattingElements.length; i++) {
|
||||
if (listOfActiveFormattingElements[i]) {
|
||||
listOfActiveFormattingElements[i]->release(nullptr);
|
||||
listOfActiveFormattingElements[i]->release();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue