Index: Source/core/html/HTMLDialogElement.cpp |
diff --git a/Source/core/html/HTMLDialogElement.cpp b/Source/core/html/HTMLDialogElement.cpp |
index e2107f10a107364046feb9ba2450fc39f270b092..eecf2451ade1f104f81d1e05a00ec20f0583fcd1 100644 |
--- a/Source/core/html/HTMLDialogElement.cpp |
+++ b/Source/core/html/HTMLDialogElement.cpp |
@@ -52,7 +52,7 @@ static void runAutofocus(HTMLDialogElement* dialog) |
} |
} |
if (node->hasTagName(dialogTag)) |
- next = NodeTraversal::nextSkippingChildren(node, dialog); |
+ next = NodeTraversal::nextSkippingChildren(*node, dialog); |
else |
next = NodeTraversal::next(*node, dialog); |
} |