mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
Bug 1167395 - Mark CharacterDataChangeInfo::Details as MOZ_STACK_CLASS, and mark mNextSibling as MOZ_NON_OWNING_REF. r=smaug
This commit is contained in:
parent
69d3c2310d
commit
461e033c3c
@ -62,7 +62,7 @@ struct CharacterDataChangeInfo
|
||||
* mChangeStart + mReplaceLength.
|
||||
*/
|
||||
|
||||
struct Details {
|
||||
struct MOZ_STACK_CLASS Details {
|
||||
enum {
|
||||
eMerge, // two text nodes are merged as a result of normalize()
|
||||
eSplit // a text node is split as a result of splitText()
|
||||
@ -71,7 +71,7 @@ struct CharacterDataChangeInfo
|
||||
* For eMerge it's the text node that will be removed, for eSplit it's the
|
||||
* new text node.
|
||||
*/
|
||||
nsIContent* mNextSibling;
|
||||
nsIContent* MOZ_NON_OWNING_REF mNextSibling;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user