Bug 1519185: Remove AttributeWillChange aNewValue parameter r=emilio,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D17073
This commit is contained in:
committed by
Emilio Cobos Álvarez
parent
ef8b62c773
commit
cdc6f539cb
@@ -4262,8 +4262,7 @@ void PresShell::DocumentStatesChanged(Document* aDocument,
|
||||
}
|
||||
|
||||
void PresShell::AttributeWillChange(Element* aElement, int32_t aNameSpaceID,
|
||||
nsAtom* aAttribute, int32_t aModType,
|
||||
const nsAttrValue* aNewValue) {
|
||||
nsAtom* aAttribute, int32_t aModType) {
|
||||
MOZ_ASSERT(!mIsDocumentGone, "Unexpected AttributeWillChange");
|
||||
MOZ_ASSERT(aElement->OwnerDoc() == mDocument, "Unexpected document");
|
||||
|
||||
@@ -4272,8 +4271,8 @@ void PresShell::AttributeWillChange(Element* aElement, int32_t aNameSpaceID,
|
||||
// squelch any other inappropriate notifications as well.
|
||||
if (mDidInitialize) {
|
||||
nsAutoCauseReflowNotifier crNotifier(this);
|
||||
mPresContext->RestyleManager()->AttributeWillChange(
|
||||
aElement, aNameSpaceID, aAttribute, aModType, aNewValue);
|
||||
mPresContext->RestyleManager()->AttributeWillChange(aElement, aNameSpaceID,
|
||||
aAttribute, aModType);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user