Index: Source/core/events/WheelEvent.h |
diff --git a/Source/core/events/WheelEvent.h b/Source/core/events/WheelEvent.h |
index 3e99335687540ef4ba044d900f630550f390580f..27c89677931df0b3b3469139c8f2a00a4c7be806 100644 |
--- a/Source/core/events/WheelEvent.h |
+++ b/Source/core/events/WheelEvent.h |
@@ -114,7 +114,7 @@ private: |
inline WheelEvent* toWheelEvent(Event* event) |
{ |
- ASSERT(event && event->isWheelEvent()); |
+ ASSERT_WITH_SECURITY_IMPLICATION(!event || event->isWheelEvent()); |
return static_cast<WheelEvent*>(event); |
} |