Index: third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetAnchor.cpp |
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetAnchor.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetAnchor.cpp |
index cdf9b4a623cf753ebc7ce152bd52525bf04d0d59..00374dc3e788c6a0be3972a27de2a4ddffbc39b5 100644 |
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetAnchor.cpp |
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetAnchor.cpp |
@@ -11,15 +11,17 @@ |
namespace blink { |
+using namespace CSSPropertyParserHelpers; |
+ |
const CSSValue* CSSPropertyAPIOffsetAnchor::parseSingleValue( |
CSSParserTokenRange& range, |
const CSSParserContext& context, |
CSSPropertyID) { |
CSSValueID id = range.Peek().Id(); |
if (id == CSSValueAuto) |
- return CSSPropertyParserHelpers::ConsumeIdent(range); |
- return ConsumePosition(range, context.Mode(), |
- CSSPropertyParserHelpers::UnitlessQuirk::kForbid); |
+ return ConsumeIdent(range); |
+ return ConsumePosition(range, context, UnitlessQuirk::kForbid, |
+ Optional<UseCounter::Feature>()); |
} |
} // namespace blink |