Index: Source/core/dom/ScriptedAnimationController.cpp |
diff --git a/Source/core/dom/ScriptedAnimationController.cpp b/Source/core/dom/ScriptedAnimationController.cpp |
index 27a7f6b463f173ab8259b7a6e08c639cfad47de5..29ed5b83c475fe8ec1f88f8939cbd85cd839781d 100644 |
--- a/Source/core/dom/ScriptedAnimationController.cpp |
+++ b/Source/core/dom/ScriptedAnimationController.cpp |
@@ -110,7 +110,7 @@ void ScriptedAnimationController::dispatchEvents() |
// special casting window. |
// FIXME: We should not fire events for nodes that are no longer in the tree. |
if (DOMWindow* window = eventTarget->toDOMWindow()) |
- window->dispatchEvent(events[i], 0); |
+ window->dispatchEvent(events[i], nullptr); |
else |
eventTarget->dispatchEvent(events[i]); |
} |