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 1fc270d4e419b9acf92ce357155aef2f150c5ff1..76f80cc9e8b7db4310b96202c2b4b7def454ed9f 100644 |
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetPosition.cpp |
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetPosition.cpp |
@@ -21,8 +21,8 @@ const CSSValue* CSSPropertyAPIOffsetPosition::parseSingleValue( |
range, context->mode(), CSSPropertyParserHelpers::UnitlessQuirk::Forbid); |
// Count when we receive a valid position other than 'auto'. |
- if (context->isUseCounterRecordingEnabled() && value && value->isValuePair()) |
- context->useCounter()->count(UseCounter::CSSOffsetInEffect); |
+ if (value && value->isValuePair()) |
+ context->count(UseCounter::CSSOffsetInEffect); |
return value; |
} |