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

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

Issue 2139843002: Allow [id=X] selectors to use the querySelector ID fast path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix assert. Created 4 years, 5 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: 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 2dc05bf48f44f9cf1b6c94ce9f4de82497677f7e..b5ceaa3f6e44fbd2994ab26df12ce6f846e91cd4 100644
--- a/third_party/WebKit/Source/core/dom/SelectorQuery.h
+++ b/third_party/WebKit/Source/core/dom/SelectorQuery.h
@@ -79,7 +79,6 @@ private:
void executeSlowTraversingShadowTree(ContainerNode& rootNode, typename SelectorQueryTrait::OutputType&) const;
template <typename SelectorQueryTrait>
void execute(ContainerNode& rootNode, typename SelectorQueryTrait::OutputType&) const;
- const CSSSelector* selectorForIdLookup(const CSSSelector&) const;
Vector<const CSSSelector*> m_selectors;
bool m_usesDeepCombinatorOrShadowPseudo : 1;

Powered by Google App Engine
This is Rietveld 408576698