Reduce the size of tokens. b=113657, r=heikki, sr=jst

git-svn-id: svn://10.0.0.236/trunk@111954 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
harishd%netscape.com
2002-01-11 19:39:57 +00:00
parent 380edd4af3
commit aebb8f7c06
8 changed files with 72 additions and 98 deletions

View File

@@ -126,8 +126,6 @@ class CStartToken: public CHTMLToken {
virtual const char* GetClassName(void);
virtual PRInt32 GetTokenType(void);
PRBool IsAttributed(void);
void SetAttributed(PRBool aValue);
PRBool IsEmpty(void);
void SetEmpty(PRBool aValue);
#ifdef DEBUG
@@ -154,13 +152,13 @@ class CStartToken: public CHTMLToken {
nsString mTextValue;
nsString mTrailingContent;
PRInt32 mOrigin;
protected:
PRBool mAttributed;
PRBool mEmpty;
protected:
eContainerInfo mContainerInfo;
nsCOMPtr<nsIAtom> mIDAttributeAtom;
PRPackedBool mEmpty;
#ifdef DEBUG
PRPackedBool mAttributed;
#endif
};
@@ -379,12 +377,14 @@ class CAttributeToken: public CHTMLToken {
#ifdef DEBUG
virtual void DebugDumpSource(nsOutputStream& out);
#endif
PRBool mLastAttribute;
PRBool mHasEqualWithoutValue;
PRPackedBool mHasEqualWithoutValue;
protected:
nsAutoString mTextValue;
nsSlidingSubstring mTextKey;
nsAutoString mTextValue;
nsSlidingSubstring mTextKey;
#ifdef DEBUG
PRPackedBool mLastAttribute;
#endif
};