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:
Emilio Cobos Álvarez
2018-02-27 15:30:27 +01:00
parent 0f7796144a
commit 7a79ccba52
34 changed files with 108 additions and 108 deletions

View File

@@ -66,7 +66,7 @@ HTMLStyleElement::SetDisabled(bool aDisabled)
void
HTMLStyleElement::CharacterDataChanged(nsIDocument* aDocument,
nsIContent* aContent,
CharacterDataChangeInfo* aInfo)
const CharacterDataChangeInfo&)
{
ContentChanged(aContent);
}