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 bbf86d375e3c2f1b3361c43c1798eab9f4440f09..a19dc0705bdbb32081c6954ec61c8ff2fd845e06 100644 |
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIZoom.cpp |
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIZoom.cpp |
@@ -12,7 +12,7 @@ |
const CSSValue* CSSPropertyAPIZoom::parseSingleValue( |
CSSParserTokenRange& range, |
- const CSSParserContext& context) { |
+ const CSSParserContext* context) { |
const CSSParserToken& token = range.peek(); |
CSSValue* zoom = nullptr; |
if (token.type() == IdentToken) { |
@@ -32,11 +32,11 @@ |
toCSSPrimitiveValue(zoom)->getDoubleValue() == 1) || |
(token.type() == PercentageToken && |
toCSSPrimitiveValue(zoom)->getDoubleValue() == 100))) |
- context.count(UseCounter::CSSZoomNotEqualToOne); |
+ context->count(UseCounter::CSSZoomNotEqualToOne); |
if (token.id() == CSSValueReset) |
- context.countDeprecation(UseCounter::CSSZoomReset); |
+ context->countDeprecation(UseCounter::CSSZoomReset); |
if (token.id() == CSSValueDocument) |
- context.countDeprecation(UseCounter::CSSZoomDocument); |
+ context->countDeprecation(UseCounter::CSSZoomDocument); |
} |
return zoom; |
} |