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

@@ -56,7 +56,7 @@ HTMLTitleElement::SetText(const nsAString& aText, ErrorResult& aError)
void
HTMLTitleElement::CharacterDataChanged(nsIDocument *aDocument,
nsIContent *aContent,
CharacterDataChangeInfo *aInfo)
const CharacterDataChangeInfo&)
{
SendTitleChangeEvent(false);
}