зеркало из https://github.com/mozilla/gecko-dev.git
No bug - Remove always-false argument from a binding function. r=me
MozReview-Commit-ID: EyRtQ92HjsV
This commit is contained in:
Родитель
d178469908
Коммит
914f744eb1
|
@ -689,8 +689,7 @@ SERVO_BINDING_FUNC(Servo_ResolveStyleLazily, ServoStyleContextStrong,
|
|||
mozilla::CSSPseudoElementType pseudo_type,
|
||||
mozilla::StyleRuleInclusion rule_inclusion,
|
||||
const mozilla::ServoElementSnapshotTable* snapshots,
|
||||
RawServoStyleSetBorrowed set,
|
||||
bool ignore_existing_styles)
|
||||
RawServoStyleSetBorrowed set)
|
||||
|
||||
// Reparents style to the new parents.
|
||||
SERVO_BINDING_FUNC(Servo_ReparentStyle, ServoStyleContextStrong,
|
||||
|
|
|
@ -1399,8 +1399,7 @@ ServoStyleSet::ResolveStyleLazilyInternal(Element* aElement,
|
|||
pseudoTypeForStyleResolution,
|
||||
aRuleInclusion,
|
||||
&Snapshots(),
|
||||
mRawSet.get(),
|
||||
/* aIgnoreExistingStyles = */ false).Consume();
|
||||
mRawSet.get()).Consume();
|
||||
|
||||
if (GetPresContext()->EffectCompositor()->PreTraverse(aElement, aPseudoType)) {
|
||||
computedValues =
|
||||
|
@ -1408,8 +1407,7 @@ ServoStyleSet::ResolveStyleLazilyInternal(Element* aElement,
|
|||
pseudoTypeForStyleResolution,
|
||||
aRuleInclusion,
|
||||
&Snapshots(),
|
||||
mRawSet.get(),
|
||||
/* aIgnoreExistingStyles = */ false).Consume();
|
||||
mRawSet.get()).Consume();
|
||||
}
|
||||
|
||||
MOZ_DIAGNOSTIC_ASSERT(computedValues->PresContext() == GetPresContext() ||
|
||||
|
|
Загрузка…
Ссылка в новой задаче