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

@@ -1091,7 +1091,7 @@ HTMLContentSink::NotifyInsert(nsIContent* aContent,
// Scope so we call EndUpdate before we decrease mInNotification
MOZ_AUTO_DOC_UPDATE(mDocument, UPDATE_CONTENT_MODEL, !mBeganUpdate);
nsNodeUtils::ContentInserted(NODE_FROM(aContent, mDocument),
aChildContent, aIndexInContainer);
aChildContent);
mLastNotificationTime = PR_Now();
}