mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Issue #2112 - Part 5: Remove Servo from forwarding code used by magic pointer classes
This commit is contained in:
parent
b1c9206051
commit
a93a7bed47
52 changed files with 274 additions and 1116 deletions
|
|
@ -501,9 +501,6 @@ nsTransitionManager::StyleContextChanged(dom::Element *aElement,
|
|||
return;
|
||||
}
|
||||
|
||||
MOZ_ASSERT(mPresContext->RestyleManager()->IsGecko(),
|
||||
"ServoRestyleManager should not use nsTransitionManager "
|
||||
"for transitions");
|
||||
if (collection &&
|
||||
collection->mCheckGeneration ==
|
||||
mPresContext->RestyleManager()->AsGecko()->GetAnimationGeneration()) {
|
||||
|
|
@ -533,9 +530,6 @@ nsTransitionManager::StyleContextChanged(dom::Element *aElement,
|
|||
// not stopping or starting right now.
|
||||
RefPtr<nsStyleContext> afterChangeStyle;
|
||||
if (collection) {
|
||||
MOZ_ASSERT(mPresContext->StyleSet()->IsGecko(),
|
||||
"ServoStyleSets should not use nsTransitionManager "
|
||||
"for transitions");
|
||||
nsStyleSet* styleSet = mPresContext->StyleSet()->AsGecko();
|
||||
afterChangeStyle =
|
||||
styleSet->ResolveStyleWithoutAnimation(aElement, newStyleContext,
|
||||
|
|
@ -914,10 +908,6 @@ nsTransitionManager::ConsiderInitiatingTransition(
|
|||
Move(startValue), Move(endValue), tf),
|
||||
aNewStyleContext);
|
||||
|
||||
MOZ_ASSERT(mPresContext->RestyleManager()->IsGecko(),
|
||||
"ServoRestyleManager should not use nsTransitionManager "
|
||||
"for transitions");
|
||||
|
||||
RefPtr<CSSTransition> animation =
|
||||
new CSSTransition(mPresContext->Document()->GetScopeObject());
|
||||
animation->SetOwningElement(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue