| Index: third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetPosition.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetPosition.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetPosition.cpp
|
| index f3a59be6f4af1bd777a7f813fef79f216fb69169..6aa62145c9455ff61c744caace22936e5ad2dadc 100644
|
| --- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetPosition.cpp
|
| +++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetPosition.cpp
|
| @@ -11,15 +11,17 @@
|
|
|
| namespace blink {
|
|
|
| +using namespace CSSPropertyParserHelpers;
|
| +
|
| const CSSValue* CSSPropertyAPIOffsetPosition::parseSingleValue(
|
| CSSParserTokenRange& range,
|
| const CSSParserContext& context,
|
| CSSPropertyID) {
|
| CSSValueID id = range.Peek().Id();
|
| if (id == CSSValueAuto)
|
| - return CSSPropertyParserHelpers::ConsumeIdent(range);
|
| - CSSValue* value = CSSPropertyParserHelpers::ConsumePosition(
|
| - range, context.Mode(), CSSPropertyParserHelpers::UnitlessQuirk::kForbid);
|
| + return ConsumeIdent(range);
|
| + CSSValue* value = ConsumePosition(range, context, UnitlessQuirk::kForbid,
|
| + Optional<UseCounter::Feature>());
|
|
|
| // Count when we receive a valid position other than 'auto'.
|
| if (value && value->IsValuePair())
|
|
|