Index: Source/core/html/HTMLDialogElement.cpp |
diff --git a/Source/core/html/HTMLDialogElement.cpp b/Source/core/html/HTMLDialogElement.cpp |
index 5c9164047b67d9c89f8d47f0c0b389aef57975a5..d4c0da3bd80bdd3f58e2718262ee210d25cf0a67 100644 |
--- a/Source/core/html/HTMLDialogElement.cpp |
+++ b/Source/core/html/HTMLDialogElement.cpp |
@@ -51,7 +51,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); |
} |