Skip to content

Commit

Permalink
Fix unused function warning in CSSPropertyParserHelpers.cpp
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=247025

Unreviewed build fix.

* Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp:

Canonical link: https://commits.webkit.org/255985@main
  • Loading branch information
donny-dont committed Oct 25, 2022
1 parent 5300e66 commit 4694992
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp
Expand Up @@ -1370,10 +1370,12 @@ RefPtr<CSSPrimitiveValue> consumeLength(CSSParserTokenRange& range, CSSParserMod
return consumeMetaConsumer<LengthConsumer>(range, { }, valueRange, parserMode, unitless, UnitlessZeroQuirk::Forbid, CSSValuePool::singleton());
}

#if ENABLE(VARIATION_FONTS)
static std::optional<AngleRaw> consumeAngleRaw(CSSParserTokenRange& range, CSSParserMode parserMode, UnitlessQuirk unitless, UnitlessZeroQuirk unitlessZero)
{
return consumeMetaConsumer<AngleRawConsumer<RawIdentityTransformer<AngleRaw>>>(range, { }, ValueRange::All, parserMode, unitless, unitlessZero);
}
#endif

RefPtr<CSSPrimitiveValue> consumeAngle(CSSParserTokenRange& range, CSSParserMode parserMode, UnitlessQuirk unitless, UnitlessZeroQuirk unitlessZero)
{
Expand Down

0 comments on commit 4694992

Please sign in to comment.