| Index: Source/core/css/RuleSet.h
|
| diff --git a/Source/core/css/RuleSet.h b/Source/core/css/RuleSet.h
|
| index 396860e42622c682af3e66c67702172014660b7a..6ca2c2909acfe77cb56b43f164438ec837bf5b73 100644
|
| --- a/Source/core/css/RuleSet.h
|
| +++ b/Source/core/css/RuleSet.h
|
| @@ -84,7 +84,7 @@ public:
|
|
|
| bool containsUncommonAttributeSelector() const { return m_containsUncommonAttributeSelector; }
|
| unsigned specificity() const { return m_specificity; }
|
| - unsigned linkMatchType() const { return m_linkMatchType; }
|
| + unsigned linkMatchType() const { return selector().linkMatchType(); }
|
| bool hasDocumentSecurityOrigin() const { return m_hasDocumentSecurityOrigin; }
|
| PropertyWhitelistType propertyWhitelistType(bool isMatchingUARules = false) const { return isMatchingUARules ? PropertyWhitelistNone : static_cast<PropertyWhitelistType>(m_propertyWhitelistType); }
|
| // Try to balance between memory usage (there can be lots of RuleData objects) and good filtering performance.
|
| @@ -102,7 +102,6 @@ private:
|
| unsigned m_position : 18;
|
| unsigned m_specificity : 24;
|
| unsigned m_containsUncommonAttributeSelector : 1;
|
| - unsigned m_linkMatchType : 2; // CSSSelector::LinkMatchMask
|
| unsigned m_hasDocumentSecurityOrigin : 1;
|
| unsigned m_propertyWhitelistType : 2;
|
| // Use plain array instead of a Vector to minimize memory overhead.
|
|
|