| Index: third_party/WebKit/Source/core/css/properties/CSSPropertyAPIZoom.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIZoom.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIZoom.cpp
|
| index dc8a2613ba4d6079f01db1b5ea38684f6060c9c4..cb18fb11fcf074b35697f6316069143ebbdf99d6 100644
|
| --- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIZoom.cpp
|
| +++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIZoom.cpp
|
| @@ -26,17 +26,17 @@ const CSSValue* CSSPropertyAPIZoom::parseSingleValue(
|
| CSSPropertyParserHelpers::consumeNumber(range, ValueRangeNonNegative);
|
| }
|
| }
|
| - if (zoom && context->isUseCounterRecordingEnabled()) {
|
| + if (zoom) {
|
| if (!(token.id() == CSSValueNormal ||
|
| (token.type() == NumberToken &&
|
| toCSSPrimitiveValue(zoom)->getDoubleValue() == 1) ||
|
| (token.type() == PercentageToken &&
|
| toCSSPrimitiveValue(zoom)->getDoubleValue() == 100)))
|
| - context->useCounter()->count(UseCounter::CSSZoomNotEqualToOne);
|
| + context->count(UseCounter::CSSZoomNotEqualToOne);
|
| if (token.id() == CSSValueReset)
|
| - context->useCounter()->count(UseCounter::CSSZoomReset);
|
| + context->count(UseCounter::CSSZoomReset);
|
| if (token.id() == CSSValueDocument)
|
| - context->useCounter()->count(UseCounter::CSSZoomDocument);
|
| + context->count(UseCounter::CSSZoomDocument);
|
| }
|
| return zoom;
|
| }
|
|
|