mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1641076 - Remove RestyleManager::ProcessPostTraversal unused argument. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D76946
This commit is contained in:
parent
7e76f582e7
commit
5df8c99574
@ -2575,7 +2575,6 @@ static ServoPostTraversalFlags SendA11yNotifications(
|
||||
}
|
||||
|
||||
bool RestyleManager::ProcessPostTraversal(Element* aElement,
|
||||
ComputedStyle* aParentContext,
|
||||
ServoRestyleState& aRestyleState,
|
||||
ServoPostTraversalFlags aFlags) {
|
||||
nsIFrame* styleFrame = nsLayoutUtils::GetStyleFrame(aElement);
|
||||
@ -2800,7 +2799,7 @@ bool RestyleManager::ProcessPostTraversal(Element* aElement,
|
||||
for (nsIContent* n = it.GetNextChild(); n; n = it.GetNextChild()) {
|
||||
if (traverseElementChildren && n->IsElement()) {
|
||||
recreatedAnyContext |= ProcessPostTraversal(
|
||||
n->AsElement(), upToDateStyle, childrenRestyleState, childrenFlags);
|
||||
n->AsElement(), childrenRestyleState, childrenFlags);
|
||||
} else if (traverseTextChildren && n->IsText()) {
|
||||
recreatedAnyContext |= ProcessPostTraversalForText(
|
||||
n, textState, childrenRestyleState, childrenFlags);
|
||||
@ -3005,7 +3004,7 @@ void RestyleManager::DoProcessPendingRestyles(ServoTraversalFlags aFlags) {
|
||||
ServoRestyleState state(*styleSet, currentChanges, wrappersToRestyle,
|
||||
anchorsToSuppress);
|
||||
ServoPostTraversalFlags flags = ServoPostTraversalFlags::Empty;
|
||||
anyStyleChanged |= ProcessPostTraversal(root, nullptr, state, flags);
|
||||
anyStyleChanged |= ProcessPostTraversal(root, state, flags);
|
||||
}
|
||||
|
||||
// We want to suppress adjustments the current (before-change) scroll
|
||||
|
@ -463,7 +463,7 @@ class RestyleManager {
|
||||
* attribute changes that happens not to have any effect on the style of that
|
||||
* element or any descendant or sibling.
|
||||
*/
|
||||
bool ProcessPostTraversal(Element* aElement, ComputedStyle* aParentContext,
|
||||
bool ProcessPostTraversal(Element* aElement,
|
||||
ServoRestyleState& aRestyleState,
|
||||
ServoPostTraversalFlags aFlags);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user