зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1390409 part 1 - Remove unused ServoTraversalFlags param from ServoRestyleManager::ProcessPostTraversal. r=emilio
This was added in bug 1384769 for passing into Servo_TakeChangeHint, but bug 1388031 changed Servo_TakeChangeHint to no longer take it, and there is nothing else in the function which uses the flags. MozReview-Commit-ID: LvZkJZHENUB --HG-- extra : rebase_source : 609ad8d6be0946898622671b4f8092745e9da36a
This commit is contained in:
Родитель
fdf7f8ed8e
Коммит
07c894d22f
|
@ -650,7 +650,6 @@ ServoRestyleManager::ProcessPostTraversal(
|
|||
Element* aElement,
|
||||
ServoStyleContext* aParentContext,
|
||||
ServoRestyleState& aRestyleState,
|
||||
ServoTraversalFlags aFlags,
|
||||
bool aParentWasRestyled)
|
||||
{
|
||||
nsIFrame* styleFrame = nsLayoutUtils::GetStyleFrame(aElement);
|
||||
|
@ -829,7 +828,6 @@ ServoRestyleManager::ProcessPostTraversal(
|
|||
recreatedAnyContext |= ProcessPostTraversal(n->AsElement(),
|
||||
upToDateContext,
|
||||
childrenRestyleState,
|
||||
aFlags,
|
||||
wasRestyled);
|
||||
} else if (traverseTextChildren && n->IsNodeOfType(nsINode::eTEXT)) {
|
||||
recreatedAnyContext |= ProcessPostTraversalForText(n, textState,
|
||||
|
@ -1027,7 +1025,7 @@ ServoRestyleManager::DoProcessPendingRestyles(ServoTraversalFlags aFlags)
|
|||
nsTArray<nsIFrame*> wrappersToRestyle;
|
||||
ServoRestyleState state(*styleSet, currentChanges, wrappersToRestyle);
|
||||
anyStyleChanged |=
|
||||
ProcessPostTraversal(root, nullptr, state, aFlags,
|
||||
ProcessPostTraversal(root, nullptr, state,
|
||||
/* aParentWasRestyled = */ false);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -262,7 +262,6 @@ private:
|
|||
bool ProcessPostTraversal(Element* aElement,
|
||||
ServoStyleContext* aParentContext,
|
||||
ServoRestyleState& aRestyleState,
|
||||
ServoTraversalFlags aFlags,
|
||||
bool aParentWasRestyled);
|
||||
|
||||
struct TextPostTraversalState;
|
||||
|
|
Загрузка…
Ссылка в новой задаче