Bug 896138 patch 7: Remove unused aFrameManager parameters to some functions. r=heycam

This commit is contained in:
L. David Baron
2013-07-20 12:14:25 -07:00
parent 82f7e7134b
commit 03e7bf4a60
2 changed files with 8 additions and 13 deletions

View File

@@ -6253,7 +6253,7 @@ nsCSSFrameConstructor::MaybeConstructLazily(Operation aOperation,
}
}
PostRestyleEventForLazyConstruction();
RestyleManager()->PostRestyleEventForLazyConstruction();
return true;
}
@@ -8526,8 +8526,8 @@ nsCSSFrameConstructor::RecreateFramesForContent(nsIContent* aContent,
// ContentRemoved triggered reconstruction, then we don't need to do this
// because the frames will already have been built.
if (aAsyncInsert) {
PostRestyleEvent(aContent->AsElement(), nsRestyleHint(0),
nsChangeHint_ReconstructFrame);
RestyleManager()->PostRestyleEvent(
aContent->AsElement(), nsRestyleHint(0), nsChangeHint_ReconstructFrame);
} else {
rv = ContentInserted(container, aContent, mTempFrameTreeState, false);
}