Index: Source/core/css/ElementRuleCollector.h |
diff --git a/Source/core/css/ElementRuleCollector.h b/Source/core/css/ElementRuleCollector.h |
index b702c7747c3ec118d905c1e0e76871df8400e922..67b44a7a65a370dd638b3fddce64da47567f496f 100644 |
--- a/Source/core/css/ElementRuleCollector.h |
+++ b/Source/core/css/ElementRuleCollector.h |
@@ -124,6 +124,7 @@ public: |
void addElementStyleProperties(const StylePropertySet*, bool isCacheable = true); |
void finishAddingUARules() { m_result.finishAddingUARules(); } |
void finishAddingAuthorRulesForTreeScope() { m_result.finishAddingAuthorRulesForTreeScope(); } |
+ bool isCollectingForPseudoElement() const { return m_pseudoStyleRequest.pseudoId != NOPSEUDO; } |
private: |
template<typename RuleDataListType> |