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: third_party/WebKit/Source/core/dom/SelectorQuery.h

Issue 2875673006: Allow using SelectorQuery fast paths in quirks mode and disconnected subtrees. (Closed)
Patch Set: Created 3 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 | third_party/WebKit/Source/core/dom/SelectorQuery.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/SelectorQuery.h
diff --git a/third_party/WebKit/Source/core/dom/SelectorQuery.h b/third_party/WebKit/Source/core/dom/SelectorQuery.h
index 660c681b6d88138745575a126f3acdd9d63d48f4..4ad6f1fa0a3df90e6dc64ec4250d6a462a6fad07 100644
--- a/third_party/WebKit/Source/core/dom/SelectorQuery.h
+++ b/third_party/WebKit/Source/core/dom/SelectorQuery.h
@@ -81,8 +81,6 @@ class CORE_EXPORT SelectorQuery {
private:
explicit SelectorQuery(CSSSelectorList);
- bool CanUseFastQuery(const ContainerNode& root_node) const;
-
template <typename SelectorQueryTrait>
void ExecuteWithId(ContainerNode& root_node,
typename SelectorQueryTrait::OutputType&) const;
@@ -118,6 +116,7 @@ class CORE_EXPORT SelectorQuery {
bool selector_id_affected_by_sibling_combinator_ : 1;
bool uses_deep_combinator_or_shadow_pseudo_ : 1;
bool needs_updated_distribution_ : 1;
+ bool use_slow_scan_ : 1;
};
class SelectorQueryCache {
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/SelectorQuery.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698