Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan

This commit is contained in:
Aryeh Gregor
2012-07-20 14:16:17 +03:00
parent 3beb28bd5b
commit e3e1225e61
42 changed files with 92 additions and 73 deletions

View File

@@ -548,7 +548,7 @@ nsHtml5TreeBuilder::endTokenization()
stack[currentPtr]->release();
currentPtr--;
}
stack = nsnull;
stack = 0;
}
if (listOfActiveFormattingElements) {
while (listPtr > -1) {
@@ -557,9 +557,9 @@ nsHtml5TreeBuilder::endTokenization()
}
listPtr--;
}
listOfActiveFormattingElements = nsnull;
listOfActiveFormattingElements = 0;
}
charBuffer = nsnull;
charBuffer = 0;
end();
}