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 a1abb7e8f5b9fe0992e0a7ea262626a4aa3bfb81..2d94b6fbfa07ad8bdcdaf47110bfe76489107ec7 100644 |
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIZoom.cpp |
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIZoom.cpp |
@@ -17,8 +17,7 @@ const CSSValue* CSSPropertyAPIZoom::parseSingleValue( |
const CSSParserToken& token = range.Peek(); |
CSSValue* zoom = nullptr; |
if (token.GetType() == kIdentToken) { |
- zoom = CSSPropertyParserHelpers::ConsumeIdent<CSSValueNormal, CSSValueReset, |
- CSSValueDocument>(range); |
+ zoom = CSSPropertyParserHelpers::ConsumeIdent<CSSValueNormal>(range); |
} else { |
zoom = |
CSSPropertyParserHelpers::ConsumePercent(range, kValueRangeNonNegative); |
@@ -34,10 +33,6 @@ const CSSValue* CSSPropertyAPIZoom::parseSingleValue( |
(token.GetType() == kPercentageToken && |
ToCSSPrimitiveValue(zoom)->GetDoubleValue() == 100))) |
context.Count(UseCounter::kCSSZoomNotEqualToOne); |
- if (token.Id() == CSSValueReset) |
- context.CountDeprecation(UseCounter::kCSSZoomReset); |
- if (token.Id() == CSSValueDocument) |
- context.CountDeprecation(UseCounter::kCSSZoomDocument); |
} |
return zoom; |
} |