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

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

Issue 1350963004: Deprecate 'intrinsic' and 'min-intrinsic' CSS keywords, attempt 2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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: Source/core/css/parser/LegacyCSSPropertyParser.cpp
diff --git a/Source/core/css/parser/LegacyCSSPropertyParser.cpp b/Source/core/css/parser/LegacyCSSPropertyParser.cpp
index 633e2843f3d7b55bf897fea7315cd06db2d63a74..d28e348ea4df64e8dc1666fd06cc2b1dd6e164a6 100644
--- a/Source/core/css/parser/LegacyCSSPropertyParser.cpp
+++ b/Source/core/css/parser/LegacyCSSPropertyParser.cpp
@@ -327,10 +327,9 @@ bool CSSPropertyParser::validWidthOrHeight(CSSParserValue* value, Units unitless
if (m_context.useCounter()) {
switch (value->id) {
case CSSValueIntrinsic:
- m_context.useCounter()->count(UseCounter::LegacyCSSValueIntrinsic);
- break;
case CSSValueMinIntrinsic:
- m_context.useCounter()->count(UseCounter::LegacyCSSValueMinIntrinsic);
+ // These two will be counted in StyleAdjuster because they emit a deprecation
+ // message, and we don't have access to a Document/LocalFrame here.
break;
case CSSValueWebkitMinContent:
m_context.useCounter()->count(UseCounter::CSSValuePrefixedMinContent);

Powered by Google App Engine
This is Rietveld 408576698