Index: Source/core/css/ElementRuleCollector.h |
diff --git a/Source/core/css/ElementRuleCollector.h b/Source/core/css/ElementRuleCollector.h |
index c52aa2190deae280c33f76c1247907f93d13d1e9..60f7abc7459b25b6036cb03d2909c397d44ef53c 100644 |
--- a/Source/core/css/ElementRuleCollector.h |
+++ b/Source/core/css/ElementRuleCollector.h |
@@ -105,7 +105,7 @@ public: |
void sortAndTransferMatchedRulesWithOnlySortBySpecificity(); |
private: |
- Document* document() { return m_context.document(); } |
+ Document& document() { return m_context.document(); } |
void collectRuleIfMatches(const RuleData&, CascadeScope, CascadeOrder, const MatchRequest&, RuleRange&); |
void collectMatchingRulesForList(const Vector<RuleData>*, CascadeScope, CascadeOrder, const MatchRequest&, RuleRange&); |