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

Unified Diff: Source/core/css/parser/CSSPropertyParser.cpp

Issue 1318933002: Revert of Deprecate 'intrinsic' and 'min-intrinsic' CSS keywords (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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
« no previous file with comments | « Source/core/css/parser/CSSParserMode.cpp ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/CSSPropertyParser.cpp
diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp
index c9f5ebf83dfb738c65ca234c737c07aad0391d6a..3800340654cf97a7ff909a178623ac0fd2bd54c2 100644
--- a/Source/core/css/parser/CSSPropertyParser.cpp
+++ b/Source/core/css/parser/CSSPropertyParser.cpp
@@ -375,10 +375,10 @@
if (m_context.useCounter()) {
switch (value->id) {
case CSSValueIntrinsic:
- UseCounter::countDeprecation(m_context.frame(), UseCounter::LegacyCSSValueIntrinsic);
+ m_context.useCounter()->count(UseCounter::LegacyCSSValueIntrinsic);
break;
case CSSValueMinIntrinsic:
- UseCounter::countDeprecation(m_context.frame(), UseCounter::LegacyCSSValueMinIntrinsic);
+ m_context.useCounter()->count(UseCounter::LegacyCSSValueMinIntrinsic);
break;
case CSSValueWebkitMinContent:
m_context.useCounter()->count(UseCounter::CSSValuePrefixedMinContent);
« no previous file with comments | « Source/core/css/parser/CSSParserMode.cpp ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698