diff --git a/htmlparser/src/CNavDTD.h b/htmlparser/src/CNavDTD.h index 6c6e9fa941a..ad841210270 100644 --- a/htmlparser/src/CNavDTD.h +++ b/htmlparser/src/CNavDTD.h @@ -680,11 +680,11 @@ protected: CTokenHandler* mTokenHandlers[eToken_last]; - PRBool mLeafBits[50]; - eHTMLTags mContextStack[50]; + PRBool mLeafBits[4096]; + eHTMLTags mContextStack[4096]; PRInt32 mContextStackPos; - eHTMLTags mStyleStack[50]; + eHTMLTags mStyleStack[4096]; PRInt32 mStyleStackPos; PRBool mHasOpenForm; PRBool mHasOpenMap; diff --git a/parser/htmlparser/src/CNavDTD.h b/parser/htmlparser/src/CNavDTD.h index 6c6e9fa941a..ad841210270 100644 --- a/parser/htmlparser/src/CNavDTD.h +++ b/parser/htmlparser/src/CNavDTD.h @@ -680,11 +680,11 @@ protected: CTokenHandler* mTokenHandlers[eToken_last]; - PRBool mLeafBits[50]; - eHTMLTags mContextStack[50]; + PRBool mLeafBits[4096]; + eHTMLTags mContextStack[4096]; PRInt32 mContextStackPos; - eHTMLTags mStyleStack[50]; + eHTMLTags mStyleStack[4096]; PRInt32 mStyleStackPos; PRBool mHasOpenForm; PRBool mHasOpenMap;