Index: Source/web/WebSelector.cpp |
diff --git a/Source/web/WebSelector.cpp b/Source/web/WebSelector.cpp |
index 90efbdb3a4f689608f8bc18bb91aa8d687d8e364..99ea21a7419476f2eff9f9fd0d97b27f665f141b 100644 |
--- a/Source/web/WebSelector.cpp |
+++ b/Source/web/WebSelector.cpp |
@@ -47,7 +47,7 @@ WebString canonicalizeSelector(WebString webSelector, WebSelectorType restrictio |
parser.parseSelector(webSelector, selectorList); |
if (restriction == WebSelectorTypeCompound) { |
- for (const CSSSelector* selector = selectorList.first(); selector; selector = selectorList.next(selector)) { |
+ for (const CSSSelector* selector = selectorList.first(); selector; selector = selectorList.next(*selector)) { |
if (!selector->isCompound()) |
return WebString(); |
} |