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

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

Issue 2970623002: [WIP] Compute the linkMatchType inside the CSSSelectorParser.
Patch Set: [WIP] Compute the linkMatchType inside the CSSSelectorParser. Created 3 years, 5 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/CSSSelector.cpp ('k') | third_party/WebKit/Source/core/css/RuleSet.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/RuleSet.h
diff --git a/third_party/WebKit/Source/core/css/RuleSet.h b/third_party/WebKit/Source/core/css/RuleSet.h
index 84a071364960eb478a144c5ead7b1b3593f81e33..550e4bf03433eab69bbf12d335648c9acad95787 100644
--- a/third_party/WebKit/Source/core/css/RuleSet.h
+++ b/third_party/WebKit/Source/core/css/RuleSet.h
@@ -95,7 +95,7 @@ class CORE_EXPORT RuleData {
return contains_uncommon_attribute_selector_;
}
unsigned Specificity() const { return specificity_; }
- unsigned LinkMatchType() const { return link_match_type_; }
+ unsigned LinkMatchType() const { return Selector().linkMatchType(); }
bool HasDocumentSecurityOrigin() const {
return has_document_security_origin_;
}
@@ -129,7 +129,6 @@ class CORE_EXPORT RuleData {
// 32 bits above
unsigned specificity_ : 24;
unsigned contains_uncommon_attribute_selector_ : 1;
- unsigned link_match_type_ : 2; // CSSSelector::LinkMatchMask
unsigned has_document_security_origin_ : 1;
unsigned property_whitelist_ : 2;
// 30 bits above
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSSelector.cpp ('k') | third_party/WebKit/Source/core/css/RuleSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698