mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +09:00
Issue #2488 - Part 3: Remove the StyleSetHandle smart pointer class
This commit is contained in:
parent
4d7bdedade
commit
4bf43b8fb4
58 changed files with 155 additions and 589 deletions
|
|
@ -1659,7 +1659,7 @@ nsRuleNode::nsRuleNode(nsPresContext* aContext, nsRuleNode* aParent,
|
|||
|
||||
NS_ASSERTION(IsRoot() || GetLevel() == aLevel, "not enough bits");
|
||||
NS_ASSERTION(IsRoot() || IsImportantRule() == aIsImportant, "yikes");
|
||||
aContext->StyleSet()->AsGecko()->RuleNodeUnused(this, /* aMayGC = */ false);
|
||||
aContext->StyleSet()->RuleNodeUnused(this, /* aMayGC = */ false);
|
||||
|
||||
// nsStyleSet::GetContext depends on there being only one animation
|
||||
// rule.
|
||||
|
|
@ -3903,7 +3903,7 @@ nsRuleNode::SetFont(nsPresContext* aPresContext, nsStyleContext* aContext,
|
|||
if (variantAlternates & NS_FONT_VARIANT_ALTERNATES_FUNCTIONAL_MASK) {
|
||||
// fetch the feature lookup object from the styleset
|
||||
aFont->mFont.featureValueLookup =
|
||||
aPresContext->StyleSet()->AsGecko()->GetFontFeatureValuesLookup();
|
||||
aPresContext->StyleSet()->GetFontFeatureValuesLookup();
|
||||
|
||||
NS_ASSERTION(variantAlternatesValue->GetPairValue().mYValue.GetUnit() ==
|
||||
eCSSUnit_List, "function list not a list value");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue