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

Unified Diff: third_party/WebKit/Source/web/WebSelector.cpp

Issue 1616423003: Fix selector namespace prefix resolution. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed review issues Created 4 years, 11 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/html/HTMLContentElement.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/web/WebSelector.cpp
diff --git a/third_party/WebKit/Source/web/WebSelector.cpp b/third_party/WebKit/Source/web/WebSelector.cpp
index 7253347485690776bdad826bbd39161860b2a74a..46efec936f7bac4618490d94bc1d89fcb945b60b 100644
--- a/third_party/WebKit/Source/web/WebSelector.cpp
+++ b/third_party/WebKit/Source/web/WebSelector.cpp
@@ -38,7 +38,7 @@ namespace blink {
WebString canonicalizeSelector(WebString webSelector, WebSelectorType restriction)
{
- CSSSelectorList selectorList = CSSParser::parseSelector(strictCSSParserContext(), webSelector);
+ CSSSelectorList selectorList = CSSParser::parseSelector(strictCSSParserContext(), nullptr, webSelector);
if (restriction == WebSelectorTypeCompound) {
for (const CSSSelector* selector = selectorList.first(); selector; selector = selectorList.next(*selector)) {
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLContentElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698