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

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

Issue 1106183007: Convert bitfields to bool in SelectorChecker. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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 | no next file » | 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 563f00d6143fe2adc9b292d1499c418f203b72fb..0412f993dc0e8eb24681fcbb9b917e616526ff0e 100644
--- a/Source/core/css/SelectorChecker.h
+++ b/Source/core/css/SelectorChecker.h
@@ -81,12 +81,12 @@ public:
ComputedStyle* elementStyle;
RawPtrWillBeMember<LayoutScrollbar> scrollbar;
ScrollbarPart scrollbarPart;
- unsigned isSubSelector : 1;
- unsigned hasScrollbarPseudo : 1;
- unsigned hasSelectionPseudo : 1;
- unsigned isUARule : 1;
- unsigned scopeContainsLastMatchedElement : 1;
- unsigned treatShadowHostAsNormalScope : 1;
+ bool isSubSelector;
+ bool hasScrollbarPseudo;
+ bool hasSelectionPseudo;
+ bool isUARule;
+ bool scopeContainsLastMatchedElement;
+ bool treatShadowHostAsNormalScope;
};
struct MatchResult {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698