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

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

Issue 838863002: Remove SelectorChecker::ContextFlags. (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
« no previous file with comments | « sky/engine/core/css/ElementRuleCollector.cpp ('k') | sky/engine/core/css/SelectorChecker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/SelectorChecker.h
diff --git a/sky/engine/core/css/SelectorChecker.h b/sky/engine/core/css/SelectorChecker.h
index bd003c6dd26df8bf05e506a9928ad7913653198e..e9b28f5740c9268a863631e339f900a1a5486a03 100644
--- a/sky/engine/core/css/SelectorChecker.h
+++ b/sky/engine/core/css/SelectorChecker.h
@@ -43,11 +43,6 @@ class SelectorChecker {
public:
enum Mode { ResolvingStyle = 0, QueryingRules, SharingRules };
explicit SelectorChecker(Document&, Mode);
- enum ContextFlags {
- // FIXME: Revmoe DefaultBehavior.
- DefaultBehavior = 0,
- TreatShadowHostAsNormalScope = 1,
- };
struct SelectorCheckingContext {
STACK_ALLOCATED();
@@ -58,7 +53,6 @@ public:
, element(element)
, scope(nullptr)
, elementStyle(0)
- , contextFlags(DefaultBehavior)
{
}
@@ -66,7 +60,6 @@ public:
RawPtr<Element> element;
RawPtr<const ContainerNode> scope;
RenderStyle* elementStyle;
- ContextFlags contextFlags;
};
bool match(const SelectorCheckingContext&) const;
« no previous file with comments | « sky/engine/core/css/ElementRuleCollector.cpp ('k') | sky/engine/core/css/SelectorChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698