void UseCounter::count(CSSParserMode cssParserMode, CSSPropertyID feature) { ASSERT(feature >= firstCSSProperty); ASSERT(feature <= lastUnresolvedCSSProperty); if (!isUseCounterEnabledForMode(cssParserMode)) return; m_CSSFeatureBits.quickSet(feature); }
void UseCounter::count(CSSParserContext context, CSSPropertyID feature) { ASSERT(feature >= firstCSSProperty); ASSERT(feature <= lastCSSProperty); if (!isUseCounterEnabledForMode(context.mode())) return; m_CSSFeatureBits.quickSet(feature); }