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

Unified Diff: Source/core/css/SelectorChecker.h

Issue 1133743004: Make right-most compound check explicit. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 5 years, 7 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 | « no previous file | Source/core/css/SelectorChecker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/SelectorChecker.h
diff --git a/Source/core/css/SelectorChecker.h b/Source/core/css/SelectorChecker.h
index 62291e12a5a8526f89c43e66c9495a4720fd984b..03c996fafb7918f37afc999b3adf69bb28e8f530 100644
--- a/Source/core/css/SelectorChecker.h
+++ b/Source/core/css/SelectorChecker.h
@@ -59,10 +59,11 @@ public:
, scope(nullptr)
, visitedMatchType(visitedMatchType)
, pseudoId(NOPSEUDO)
- , elementStyle(0)
+ , elementStyle(nullptr)
, scrollbar(nullptr)
, scrollbarPart(NoPart)
, isSubSelector(false)
+ , inRightmostCompound(true)
, hasScrollbarPseudo(false)
, hasSelectionPseudo(false)
, isUARule(false)
@@ -81,6 +82,7 @@ public:
RawPtrWillBeMember<LayoutScrollbar> scrollbar;
ScrollbarPart scrollbarPart;
bool isSubSelector;
+ bool inRightmostCompound;
bool hasScrollbarPseudo;
bool hasSelectionPseudo;
bool isUARule;
« no previous file with comments | « no previous file | Source/core/css/SelectorChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698