Bug 445570 - parser autostring allocated on the heap, r=mrbkap

This commit is contained in:
Benjamin Smedberg 2008-07-17 11:23:00 -04:00
parent 0e96dd742e
commit ed40001ad9

View File

@ -443,7 +443,7 @@ public:
PRBool Matches(const nsAString& aTopic);
protected:
nsAutoString mTopic; // This will rarely be empty, so make it an auto string
nsString mTopic;
nsVoidArray* mObservers[NS_HTML_TAG_MAX + 1];
friend class nsMatchesTopic;
};