mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 04:38:02 +00:00
Bug 445570 - parser autostring allocated on the heap, r=mrbkap
This commit is contained in:
parent
0e96dd742e
commit
ed40001ad9
@ -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;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user