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

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

Issue 2455943003: Backend for css rule tracking (Closed)
Patch Set: Created 4 years, 2 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: third_party/WebKit/Source/core/css/ElementRuleCollector.h
diff --git a/third_party/WebKit/Source/core/css/ElementRuleCollector.h b/third_party/WebKit/Source/core/css/ElementRuleCollector.h
index a33d09b4443450f0f6b7d546d020e79bacfe1ce2..3b0650967f2cb75d504b2026e6e63b9bbf7d4184 100644
--- a/third_party/WebKit/Source/core/css/ElementRuleCollector.h
+++ b/third_party/WebKit/Source/core/css/ElementRuleCollector.h
@@ -143,6 +143,8 @@ class ElementRuleCollector {
return m_pseudoStyleRequest.pseudoId != PseudoIdNone;
}
+ HeapVector<MatchedRule, 32>& matchedRulesList() { return m_matchedRules; }
caseq 2016/10/27 20:59:54 const?
valih 2016/10/27 21:41:16 Done.
+
private:
template <typename RuleDataListType>
void collectMatchingRulesForList(const RuleDataListType*,

Powered by Google App Engine
This is Rietveld 408576698