Index: Source/core/dom/shadow/ElementShadow.cpp |
diff --git a/Source/core/dom/shadow/ElementShadow.cpp b/Source/core/dom/shadow/ElementShadow.cpp |
index 779b03390c4c51e6d1251d9ed5c9ae9b64b8a3bb..1334e2a3952cc19171c9cb0edf065ca499966daa 100644 |
--- a/Source/core/dom/shadow/ElementShadow.cpp |
+++ b/Source/core/dom/shadow/ElementShadow.cpp |
@@ -361,9 +361,9 @@ void ElementShadow::collectSelectFeatureSetFrom(ShadowRoot& root) |
if (!element->hasTagName(HTMLNames::contentTag)) |
continue; |
const CSSSelectorList& list = toHTMLContentElement(element)->selectorList(); |
- for (const CSSSelector* selector = list.first(); selector; selector = CSSSelectorList::next(selector)) { |
+ for (const CSSSelector* selector = list.first(); selector; selector = CSSSelectorList::next(*selector)) { |
for (const CSSSelector* component = selector; component; component = component->tagHistory()) |
- m_selectFeatures.collectFeaturesFromSelector(component); |
+ m_selectFeatures.collectFeaturesFromSelector(*component); |
} |
} |
} |