Index: Source/core/html/HTMLDialogElement.cpp |
diff --git a/Source/core/html/HTMLDialogElement.cpp b/Source/core/html/HTMLDialogElement.cpp |
index 6ba713b41f602daab04df81cfdc6088b1f92f3c9..566624439aae28f1e0fa8e5f313187049cda5985 100644 |
--- a/Source/core/html/HTMLDialogElement.cpp |
+++ b/Source/core/html/HTMLDialogElement.cpp |
@@ -74,7 +74,7 @@ static void setFocusForModalDialog(HTMLDialogElement* dialog) |
return; |
} |
- dialog->document().setFocusedElement(0); |
+ dialog->document().setFocusedElement(nullptr); |
} |
static void inertSubtreesChanged(Document& document) |