Index: Source/core/events/GestureEvent.h |
diff --git a/Source/core/events/GestureEvent.h b/Source/core/events/GestureEvent.h |
index 8a6f1d056cbacf76cfae03b2075318ba83ff3f2a..566c156227cc01bfb91915b0a1f9f811dea77e8b 100644 |
--- a/Source/core/events/GestureEvent.h |
+++ b/Source/core/events/GestureEvent.h |
@@ -73,7 +73,7 @@ private: |
inline GestureEvent* toGestureEvent(Event* event) |
{ |
- ASSERT(event && event->isGestureEvent()); |
+ ASSERT_WITH_SECURITY_IMPLICATION(!event || event->isGestureEvent()); |
return static_cast<GestureEvent*>(event); |
} |