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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/SelectRuleFeatureSet.cpp

Issue 2305593002: Refactored invalidation set extraction. (Closed)
Patch Set: Fixed comment Created 4 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
« no previous file with comments | « third_party/WebKit/Source/core/css/RuleFeature.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/shadow/SelectRuleFeatureSet.cpp
diff --git a/third_party/WebKit/Source/core/dom/shadow/SelectRuleFeatureSet.cpp b/third_party/WebKit/Source/core/dom/shadow/SelectRuleFeatureSet.cpp
index 9dd55577eb783b9fde8ea185f86b951a60ecd38d..4bfe0d7460cdc46aba4c0d167b6e772e42caa31a 100644
--- a/third_party/WebKit/Source/core/dom/shadow/SelectRuleFeatureSet.cpp
+++ b/third_party/WebKit/Source/core/dom/shadow/SelectRuleFeatureSet.cpp
@@ -41,7 +41,7 @@ void SelectRuleFeatureSet::collectFeaturesFromSelectorList(const CSSSelectorList
{
for (const CSSSelector* selector = list.first(); selector; selector = CSSSelectorList::next(*selector)) {
for (const CSSSelector* component = selector; component; component = component->tagHistory()) {
- if (invalidationSetForSelector(*component, InvalidateDescendants))
+ if (invalidationSetForSimpleSelector(*component, InvalidateDescendants))
continue;
if (component->selectorList())
« no previous file with comments | « third_party/WebKit/Source/core/css/RuleFeature.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698