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

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

Issue 1149913008: Compute the linkMatchType inside the CSSSelectorParser. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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: Source/core/css/RuleSet.cpp
diff --git a/Source/core/css/RuleSet.cpp b/Source/core/css/RuleSet.cpp
index 856011966c9b3b01a0a12ed3c43ae7e49b0f4625..4c1b757a712d945b88e23fd8dd44277392547e9b 100644
--- a/Source/core/css/RuleSet.cpp
+++ b/Source/core/css/RuleSet.cpp
@@ -112,7 +112,6 @@ RuleData::RuleData(StyleRule* rule, unsigned selectorIndex, unsigned position, A
, m_position(position)
, m_specificity(selector().specificity())
, m_containsUncommonAttributeSelector(blink::containsUncommonAttributeSelector(selector()))
- , m_linkMatchType(selector().computeLinkMatchType())
, m_hasDocumentSecurityOrigin(addRuleFlags & RuleHasDocumentSecurityOrigin)
, m_propertyWhitelistType(determinePropertyWhitelistType(addRuleFlags, selector()))
{

Powered by Google App Engine
This is Rietveld 408576698