diff --git a/mozilla/htmlparser/src/nsDTDUtils.cpp b/mozilla/htmlparser/src/nsDTDUtils.cpp index d3f9ba0a01a..4c7dd21dbbf 100644 --- a/mozilla/htmlparser/src/nsDTDUtils.cpp +++ b/mozilla/htmlparser/src/nsDTDUtils.cpp @@ -461,10 +461,14 @@ public: void CTokenRecycler::RecycleToken(CToken* aToken) { if(aToken) { PRInt32 theType=aToken->GetTokenType(); + mTokenCache[theType-1]->Push(aToken); + +#if 0 + //This should be disabled since it's only debug code. CTokenFinder finder(aToken); CToken* theMatch; theMatch=(CToken*)mTokenCache[theType-1]->FirstThat(finder); - mTokenCache[theType-1]->Push(aToken); +#endif } } diff --git a/mozilla/parser/htmlparser/src/nsDTDUtils.cpp b/mozilla/parser/htmlparser/src/nsDTDUtils.cpp index d3f9ba0a01a..4c7dd21dbbf 100644 --- a/mozilla/parser/htmlparser/src/nsDTDUtils.cpp +++ b/mozilla/parser/htmlparser/src/nsDTDUtils.cpp @@ -461,10 +461,14 @@ public: void CTokenRecycler::RecycleToken(CToken* aToken) { if(aToken) { PRInt32 theType=aToken->GetTokenType(); + mTokenCache[theType-1]->Push(aToken); + +#if 0 + //This should be disabled since it's only debug code. CTokenFinder finder(aToken); CToken* theMatch; theMatch=(CToken*)mTokenCache[theType-1]->FirstThat(finder); - mTokenCache[theType-1]->Push(aToken); +#endif } }