mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-30 03:08:38 +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
|
|
@ -78,10 +78,6 @@ nsTreeStyleCache::GetStyleContext(nsICSSPseudoComparator* aComparator,
|
|||
}
|
||||
if (!result) {
|
||||
// We missed the cache. Resolve this pseudo-style.
|
||||
// XXXheycam ServoStyleSets do not support XUL tree styles.
|
||||
if (aPresContext->StyleSet()->IsServo()) {
|
||||
MOZ_CRASH("stylo: ServoStyleSets should not support XUL tree styles yet");
|
||||
}
|
||||
RefPtr<nsStyleContext> newResult = aPresContext->StyleSet()->AsGecko()->
|
||||
ResolveXULTreePseudoStyle(aContent->AsElement(), aPseudoElement,
|
||||
aContext, aComparator);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue