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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp

Issue 2769783002: Centralize more querySelector logic behind QuerySelectorCache. (Closed)
Patch Set: Created 3 years, 9 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 | « third_party/WebKit/Source/core/dom/SelectorQuery.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
index 2b2907febbb86f9d344dd6dfdc3b5eca14adfe7d..655a092e4b9f40c5dd5a4012fee0c83c5badb6d0 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
@@ -1958,8 +1958,9 @@ InspectorCSSAgent::buildArrayForMatchedRuleList(CSSRuleList* ruleList,
matched = matchesPseudoElement(
selector, elementPseudoId); // Modifies |selector|.
else
- matched = element->matches(firstTagHistorySelector->selectorText(),
- IGNORE_EXCEPTION_FOR_TESTING);
+ matched = element->matches(
+ AtomicString(firstTagHistorySelector->selectorText()),
+ IGNORE_EXCEPTION_FOR_TESTING);
if (matched)
matchingSelectors->addItem(index);
++index;
« no previous file with comments | « third_party/WebKit/Source/core/dom/SelectorQuery.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698