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

Unified Diff: sky/engine/core/css/ElementRuleCollector.h

Issue 840163003: Make SelectorChecker a const operation over element. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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: sky/engine/core/css/ElementRuleCollector.h
diff --git a/sky/engine/core/css/ElementRuleCollector.h b/sky/engine/core/css/ElementRuleCollector.h
index 5d811987be5aa66ddf8a9b7d1bf228cd4246e8db..4605fce62343b2092ad8427669f90ae59bfc7632 100644
--- a/sky/engine/core/css/ElementRuleCollector.h
+++ b/sky/engine/core/css/ElementRuleCollector.h
@@ -97,8 +97,6 @@ public:
ElementRuleCollector(const ElementResolveContext&, RenderStyle* = 0);
~ElementRuleCollector();
- void setMode(SelectorChecker::Mode mode) { m_mode = mode; }
-
void setMatchingUARules(bool matchingUARules) { m_matchingUARules = matchingUARules; }
MatchResult& matchedResult();
@@ -130,7 +128,6 @@ private:
const ElementResolveContext& m_context;
RefPtr<RenderStyle> m_style; // FIXME: This can be mutated during matching!
- SelectorChecker::Mode m_mode;
bool m_matchingUARules;
OwnPtr<Vector<MatchedRule, 32> > m_matchedRules;
« no previous file with comments | « no previous file | sky/engine/core/css/ElementRuleCollector.cpp » ('j') | sky/engine/core/css/SelectorChecker.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698