Bug 651120 - Remove index argument from content removed/appended/inserted notifications. r=peterv

This commit is contained in:
Catalin Badea
2017-07-27 14:49:52 +01:00
parent c3872cae0f
commit fc6ab5f0ea
51 changed files with 143 additions and 270 deletions

View File

@@ -1035,8 +1035,7 @@ HTMLTextAreaElement::CharacterDataChanged(nsIDocument* aDocument,
void
HTMLTextAreaElement::ContentAppended(nsIDocument* aDocument,
nsIContent* aContainer,
nsIContent* aFirstNewContent,
int32_t /* unused */)
nsIContent* aFirstNewContent)
{
ContentChanged(aFirstNewContent);
}
@@ -1044,8 +1043,7 @@ HTMLTextAreaElement::ContentAppended(nsIDocument* aDocument,
void
HTMLTextAreaElement::ContentInserted(nsIDocument* aDocument,
nsIContent* aContainer,
nsIContent* aChild,
int32_t /* unused */)
nsIContent* aChild)
{
ContentChanged(aChild);
}
@@ -1054,7 +1052,6 @@ void
HTMLTextAreaElement::ContentRemoved(nsIDocument* aDocument,
nsIContent* aContainer,
nsIContent* aChild,
int32_t aIndexInContainer,
nsIContent* aPreviousSibling)
{
ContentChanged(aChild);