Issue #2488 - Part 3: Remove the StyleSetHandle smart pointer class

This commit is contained in:
FranklinDM 2024-03-29 01:40:22 +08:00 committed by roytam1
commit 4bf43b8fb4
58 changed files with 155 additions and 589 deletions

View file

@ -3261,7 +3261,7 @@ ComputeValuesFromStyleRule(nsCSSPropertyID aProperty,
return false;
}
nsStyleSet* styleSet = aStyleContext->PresContext()->StyleSet()->AsGecko();
nsStyleSet* styleSet = aStyleContext->PresContext()->StyleSet();
RefPtr<nsStyleContext> tmpStyleContext;
if (aIsContextSensitive) {