Bug 1441547: Make character data change notifications use a const reference for the info parameter. r=smaug
It's not intended to be mutated. MozReview-Commit-ID: 5nkD1YkidlV
This commit is contained in:
@@ -181,7 +181,7 @@ void HTMLOutputElement::DescendantsChanged()
|
||||
|
||||
void HTMLOutputElement::CharacterDataChanged(nsIDocument* aDocument,
|
||||
nsIContent* aContent,
|
||||
CharacterDataChangeInfo* aInfo)
|
||||
const CharacterDataChangeInfo&)
|
||||
{
|
||||
DescendantsChanged();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user