| Index: third_party/WebKit/Source/core/css/properties/CSSPropertyOffsetPathUtils.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyOffsetPathUtils.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyOffsetPathUtils.cpp
|
| index a6a31a68c4f78e09bd26748259ee097ff92da9f2..e129977ff7f7f2f7e03a435338a9af2cc6b13968 100644
|
| --- a/third_party/WebKit/Source/core/css/properties/CSSPropertyOffsetPathUtils.cpp
|
| +++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyOffsetPathUtils.cpp
|
| @@ -45,18 +45,12 @@ CSSValue* ConsumePath(CSSParserTokenRange& range) {
|
|
|
| CSSValue* CSSPropertyOffsetPathUtils::ConsumeOffsetPath(
|
| CSSParserTokenRange& range,
|
| - const CSSParserContext* context,
|
| - bool is_motion_path) {
|
| + const CSSParserContext* context) {
|
| CSSValue* value = ConsumePathOrNone(range);
|
|
|
| // Count when we receive a valid path other than 'none'.
|
| - if (value && !value->IsIdentifierValue()) {
|
| - if (is_motion_path) {
|
| - context->Count(UseCounter::kCSSMotionInEffect);
|
| - } else {
|
| - context->Count(UseCounter::kCSSOffsetInEffect);
|
| - }
|
| - }
|
| + if (value && !value->IsIdentifierValue())
|
| + context->Count(UseCounter::kCSSOffsetInEffect);
|
| return value;
|
| }
|
|
|
|
|