Bug 1442207: Remove unneeded arguments to nsIMutationObserver. r=smaug
aDocument is always content->OwnerDoc(). aContainer is always content->GetParent(). Differential Revision: https://phabricator.services.mozilla.com/D664 MozReview-Commit-ID: 4xwPCOnhyIL
This commit is contained in:
@@ -1466,7 +1466,6 @@ NS_IMPL_ISUPPORTS(nsTextControlFrame::nsAnonDivObserver, nsIMutationObserver)
|
||||
|
||||
void
|
||||
nsTextControlFrame::nsAnonDivObserver::CharacterDataChanged(
|
||||
nsIDocument* aDocument,
|
||||
nsIContent* aContent,
|
||||
const CharacterDataChangeInfo&)
|
||||
{
|
||||
@@ -1475,26 +1474,19 @@ nsTextControlFrame::nsAnonDivObserver::CharacterDataChanged(
|
||||
|
||||
void
|
||||
nsTextControlFrame::nsAnonDivObserver::ContentAppended(
|
||||
nsIDocument* aDocument,
|
||||
nsIContent* aContainer,
|
||||
nsIContent* aFirstNewContent)
|
||||
{
|
||||
mFrame.ClearCachedValue();
|
||||
}
|
||||
|
||||
void
|
||||
nsTextControlFrame::nsAnonDivObserver::ContentInserted(
|
||||
nsIDocument* aDocument,
|
||||
nsIContent* aContainer,
|
||||
nsIContent* aChild)
|
||||
nsTextControlFrame::nsAnonDivObserver::ContentInserted(nsIContent* aChild)
|
||||
{
|
||||
mFrame.ClearCachedValue();
|
||||
}
|
||||
|
||||
void
|
||||
nsTextControlFrame::nsAnonDivObserver::ContentRemoved(
|
||||
nsIDocument* aDocument,
|
||||
nsIContent* aContainer,
|
||||
nsIContent* aChild,
|
||||
nsIContent* aPreviousSibling)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user