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

Unified Diff: Source/core/dom/SelectorQuery.h

Issue 1153873004: Handle ::content and :host-context correctly in SelectorQuery. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove wrong test. 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
Index: Source/core/dom/SelectorQuery.h
diff --git a/Source/core/dom/SelectorQuery.h b/Source/core/dom/SelectorQuery.h
index b0f99f139f4c07b1fd37872775dce29090cbc14c..e3abe921f2934bf2c57b5b71ecf7722c08b84f29 100644
--- a/Source/core/dom/SelectorQuery.h
+++ b/Source/core/dom/SelectorQuery.h
@@ -80,7 +80,8 @@ private:
const CSSSelector* selectorForIdLookup(const CSSSelector&) const;
Vector<const CSSSelector*> m_selectors;
- bool m_crossesTreeBoundary;
+ bool m_crossesTreeBoundary : 1;
+ bool m_needsUpdatedDistribution : 1;
kochi 2015/05/25 05:40:57 I'm not against this, or rather like this, but I'm
esprehn 2015/05/25 06:21:11 Those objects are on the stack, so using bitfields
kochi 2015/05/25 11:07:04 Thanks for the explanation!
};
class SelectorQuery {

Powered by Google App Engine
This is Rietveld 408576698