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

Unified Diff: Source/core/css/RuleFeature.cpp

Issue 562403002: Remove TargetedStyleRecalc runtime flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Don't use the runtime flag in tests Created 6 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 | « Source/core/css/RuleFeature.h ('k') | Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/RuleFeature.cpp
diff --git a/Source/core/css/RuleFeature.cpp b/Source/core/css/RuleFeature.cpp
index 84e130f4fae6a40e7a62d0723e2d41685e0c8751..94dc0f91594fa8e78956eb8edcf5f88ec045e2e3 100644
--- a/Source/core/css/RuleFeature.cpp
+++ b/Source/core/css/RuleFeature.cpp
@@ -195,7 +195,6 @@ void RuleFeatureSet::extractInvalidationSetFeature(const CSSSelector& selector,
}
RuleFeatureSet::RuleFeatureSet()
- : m_targetedStyleRecalcEnabled(RuntimeEnabledFeatures::targetedStyleRecalcEnabled())
{
}
@@ -345,9 +344,7 @@ void RuleFeatureSet::addContentAttr(const AtomicString& attributeName)
void RuleFeatureSet::collectFeaturesFromRuleData(const RuleData& ruleData)
{
FeatureMetadata metadata;
- InvalidationSetMode mode = UseSubtreeStyleChange;
- if (m_targetedStyleRecalcEnabled)
- mode = updateInvalidationSets(ruleData.selector());
+ InvalidationSetMode mode = updateInvalidationSets(ruleData.selector());
collectFeaturesFromSelector(ruleData.selector(), metadata, mode);
m_metadata.add(metadata);
« no previous file with comments | « Source/core/css/RuleFeature.h ('k') | Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698