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

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

Issue 1166833002: Add a deprecation message for shadow-piercing descendant combinators and shadow pseudo elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase further Created 5 years, 7 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/SelectorChecker.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/CSSSelectorParser.cpp
diff --git a/Source/core/css/parser/CSSSelectorParser.cpp b/Source/core/css/parser/CSSSelectorParser.cpp
index 418544ee70e32a76acfff019803f5a167fe22114..e9d78a6b2b5f9c1d94301f2572bc321e3f2bd4cb 100644
--- a/Source/core/css/parser/CSSSelectorParser.cpp
+++ b/Source/core/css/parser/CSSSelectorParser.cpp
@@ -24,9 +24,6 @@ static void recordSelectorStats(const CSSParserContext& context, const CSSSelect
case CSSSelector::PseudoUnresolved:
feature = UseCounter::CSSSelectorPseudoUnresolved;
break;
- case CSSSelector::PseudoShadow:
- feature = UseCounter::CSSSelectorPseudoShadow;
- break;
case CSSSelector::PseudoContent:
feature = UseCounter::CSSSelectorPseudoContent;
break;
@@ -50,8 +47,6 @@ static void recordSelectorStats(const CSSParserContext& context, const CSSSelect
}
if (feature != UseCounter::NumberOfFeatures)
context.useCounter()->count(feature);
- if (current->relation() == CSSSelector::ShadowDeep)
- context.useCounter()->count(UseCounter::CSSDeepCombinator);
if (current->selectorList())
recordSelectorStats(context, *current->selectorList());
}
« no previous file with comments | « Source/core/css/SelectorChecker.cpp ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698