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

Unified Diff: third_party/WebKit/Source/core/css/RuleFeature.h

Issue 1683923003: Don't add siblingRules with combinator left of ::content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missing clear Created 4 years, 10 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 | « no previous file | third_party/WebKit/Source/core/css/RuleFeature.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/RuleFeature.h
diff --git a/third_party/WebKit/Source/core/css/RuleFeature.h b/third_party/WebKit/Source/core/css/RuleFeature.h
index 60a023f12e3ee88f6777db9aa99117c4f5164472..609466ec094632ff899a09716e960fe33a989d1b 100644
--- a/third_party/WebKit/Source/core/css/RuleFeature.h
+++ b/third_party/WebKit/Source/core/css/RuleFeature.h
@@ -108,19 +108,14 @@ private:
struct FeatureMetadata {
DISALLOW_NEW();
- FeatureMetadata()
- : usesFirstLineRules(false)
- , usesWindowInactiveSelector(false)
- , foundSiblingSelector(false)
- , maxDirectAdjacentSelectors(0)
- { }
void add(const FeatureMetadata& other);
void clear();
- bool usesFirstLineRules;
- bool usesWindowInactiveSelector;
- bool foundSiblingSelector;
- unsigned maxDirectAdjacentSelectors;
+ bool usesFirstLineRules = false;
+ bool usesWindowInactiveSelector = false;
+ bool foundSiblingSelector = false;
+ bool foundInsertionPointCrossing = false;
+ unsigned maxDirectAdjacentSelectors = 0;
};
void collectFeaturesFromSelector(const CSSSelector&, FeatureMetadata&);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/RuleFeature.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698