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

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

Issue 2284633002: Allow multiple type and id selectors in invalidation set features. (Closed)
Patch Set: Unit tests Created 4 years, 4 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: 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 8d2f9f4ef01f93b59780066313a3f1164cc3423d..eb4637caf1878c4c32596feaed361e8e828c8262 100644
--- a/third_party/WebKit/Source/core/css/RuleFeature.h
+++ b/third_party/WebKit/Source/core/css/RuleFeature.h
@@ -154,8 +154,8 @@ private:
Vector<AtomicString> classes;
Vector<AtomicString> attributes;
- AtomicString id;
- AtomicString tagName;
+ Vector<AtomicString> ids;
+ Vector<AtomicString> tagNames;
unsigned maxDirectAdjacentSelectors = UINT_MAX;
bool customPseudoElement = false;
bool hasBeforeOrAfter = false;

Powered by Google App Engine
This is Rietveld 408576698