Index: Source/core/html/HTMLOptionElement.cpp |
diff --git a/Source/core/html/HTMLOptionElement.cpp b/Source/core/html/HTMLOptionElement.cpp |
index 85dffe1e993a33ce1dcfedb8d1253e4b9abd6248..49d98190dec18d359183bded173af614908fda4c 100644 |
--- a/Source/core/html/HTMLOptionElement.cpp |
+++ b/Source/core/html/HTMLOptionElement.cpp |
@@ -367,7 +367,7 @@ String HTMLOptionElement::collectOptionInnerText() const |
if (node->isElementNode() && toScriptLoaderIfPossible(toElement(node))) |
node = NodeTraversal::nextSkippingChildren(node, this); |
else |
- node = NodeTraversal::next(node, this); |
+ node = NodeTraversal::next(*node, this); |
} |
return text.toString(); |
} |