Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Unified Diff: third_party/WebKit/Source/core/css/properties/CSSPropertyAPIZoom.cpp

Issue 2689063002: Deprecate CSS values zoom:reset and zoom:document. (Closed)
Patch Set: merge Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 cb18fb11fcf074b35697f6316069143ebbdf99d6..a19dc0705bdbb32081c6954ec61c8ff2fd845e06 100644
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIZoom.cpp
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIZoom.cpp
@@ -34,9 +34,9 @@ const CSSValue* CSSPropertyAPIZoom::parseSingleValue(
toCSSPrimitiveValue(zoom)->getDoubleValue() == 100)))
context->count(UseCounter::CSSZoomNotEqualToOne);
if (token.id() == CSSValueReset)
- context->count(UseCounter::CSSZoomReset);
+ context->countDeprecation(UseCounter::CSSZoomReset);
if (token.id() == CSSValueDocument)
- context->count(UseCounter::CSSZoomDocument);
+ context->countDeprecation(UseCounter::CSSZoomDocument);
}
return zoom;
}
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSParserContext.cpp ('k') | third_party/WebKit/Source/core/frame/Deprecation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698