mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +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.
|
* mChangeStart + mReplaceLength.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct Details {
|
struct MOZ_STACK_CLASS Details {
|
||||||
enum {
|
enum {
|
||||||
eMerge, // two text nodes are merged as a result of normalize()
|
eMerge, // two text nodes are merged as a result of normalize()
|
||||||
eSplit // a text node is split as a result of splitText()
|
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
|
* For eMerge it's the text node that will be removed, for eSplit it's the
|
||||||
* new text node.
|
* new text node.
|
||||||
*/
|
*/
|
||||||
nsIContent* mNextSibling;
|
nsIContent* MOZ_NON_OWNING_REF mNextSibling;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user