Bug 902618 - Parser notifies about subtree roots, but not their descendants, r=hsivonen,bz
This commit is contained in:
@@ -430,8 +430,6 @@ nsHtml5TreeOpExecutor::RunFlushLoop()
|
||||
|
||||
uint32_t numberOfOpsToFlush = mOpQueue.Length();
|
||||
|
||||
SetAppendBatchCapacity(numberOfOpsToFlush * 2);
|
||||
|
||||
const nsHtml5TreeOperation* first = mOpQueue.Elements();
|
||||
const nsHtml5TreeOperation* last = first + numberOfOpsToFlush - 1;
|
||||
for (nsHtml5TreeOperation* iter = const_cast<nsHtml5TreeOperation*>(first);;) {
|
||||
@@ -534,8 +532,6 @@ nsHtml5TreeOpExecutor::FlushDocumentWrite()
|
||||
|
||||
uint32_t numberOfOpsToFlush = mOpQueue.Length();
|
||||
|
||||
SetAppendBatchCapacity(numberOfOpsToFlush * 2);
|
||||
|
||||
const nsHtml5TreeOperation* start = mOpQueue.Elements();
|
||||
const nsHtml5TreeOperation* end = start + numberOfOpsToFlush;
|
||||
for (nsHtml5TreeOperation* iter = const_cast<nsHtml5TreeOperation*>(start);
|
||||
|
||||
Reference in New Issue
Block a user