Index: Source/core/events/GestureEvent.h |
diff --git a/Source/core/events/GestureEvent.h b/Source/core/events/GestureEvent.h |
index f7c2d49e26a873de257d77b9b3f7df4cba408dfa..03ca12705ea8054507495aa9d683f61442451880 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); |
} |