Index: Source/core/html/HTMLOptionElement.cpp |
diff --git a/Source/core/html/HTMLOptionElement.cpp b/Source/core/html/HTMLOptionElement.cpp |
index 87020a3342144d879576293d561d267f98c3db0f..d84e1a9ce2693a254af16be9bb71444185169995 100644 |
--- a/Source/core/html/HTMLOptionElement.cpp |
+++ b/Source/core/html/HTMLOptionElement.cpp |
@@ -359,7 +359,7 @@ String HTMLOptionElement::collectOptionInnerText() const |
text.append(node->nodeValue()); |
// Text nodes inside script elements are not part of the option text. |
if (node->isElementNode() && toScriptLoaderIfPossible(toElement(node))) |
- node = NodeTraversal::nextSkippingChildren(node, this); |
+ node = NodeTraversal::nextSkippingChildren(*node, this); |
else |
node = NodeTraversal::next(*node, this); |
} |