Index: Source/core/html/forms/RadioInputType.cpp |
diff --git a/Source/core/html/forms/RadioInputType.cpp b/Source/core/html/forms/RadioInputType.cpp |
index cf5b337831c0becea886ff5e53c53e329bc360ed..70b9d0ce5f9584058217966232a6d2fb607df8ef 100644 |
--- a/Source/core/html/forms/RadioInputType.cpp |
+++ b/Source/core/html/forms/RadioInputType.cpp |
@@ -84,7 +84,7 @@ void RadioInputType::handleKeydownEvent(KeyboardEvent* event) |
// We can only stay within the form's children if the form hasn't been demoted to a leaf because |
// of malformed HTML. |
Node* node = &element(); |
- while ((node = (forward ? NodeTraversal::next(node) : NodeTraversal::previous(node)))) { |
+ while ((node = (forward ? NodeTraversal::next(*node) : NodeTraversal::previous(node)))) { |
// Once we encounter a form element, we know we're through. |
if (node->hasTagName(formTag)) |
break; |