Commit 04728001 authored by timloh@chromium.org's avatar timloh@chromium.org

Remove unused functions from ElementRuleCollector

This patch removes the functions:
- lastMatchedRulesPosition
- sortMatchedRulesFrom
- sortAndTransferMatchedRulesWithOnlySortBySpecificity
from ElementRuleCollector as they are unused (and the latter two don't
even have definitions).

Review URL: https://codereview.chromium.org/460263002

git-svn-id: svn://svn.chromium.org/blink/trunk@180054 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 28483c47
...@@ -131,10 +131,6 @@ public: ...@@ -131,10 +131,6 @@ public:
void clearMatchedRules(); void clearMatchedRules();
void addElementStyleProperties(const StylePropertySet*, bool isCacheable = true); void addElementStyleProperties(const StylePropertySet*, bool isCacheable = true);
unsigned lastMatchedRulesPosition() const { return m_matchedRules ? m_matchedRules->size() : 0; }
void sortMatchedRulesFrom(unsigned position);
void sortAndTransferMatchedRulesWithOnlySortBySpecificity();
private: private:
void collectRuleIfMatches(const RuleData&, SelectorChecker::ContextFlags, CascadeScope, CascadeOrder, const MatchRequest&, RuleRange&); void collectRuleIfMatches(const RuleData&, SelectorChecker::ContextFlags, CascadeScope, CascadeOrder, const MatchRequest&, RuleRange&);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment