fix regression in viewsource
git-svn-id: svn://10.0.0.236/trunk@39731 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -54,8 +54,10 @@ nsCParserNode::nsCParserNode(CToken* aToken,PRInt32 aLineNumber,nsITokenRecycler
|
||||
|
||||
static void RecycleTokens(nsITokenRecycler* aRecycler,nsDeque& aDeque) {
|
||||
CToken* theToken=0;
|
||||
while(theToken=(CToken*)aDeque.Pop()){
|
||||
aRecycler->RecycleToken(theToken);
|
||||
if(aRecycler) {
|
||||
while(theToken=(CToken*)aDeque.Pop()){
|
||||
aRecycler->RecycleToken(theToken);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user