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