Index: Source/core/events/GestureEvent.h |
diff --git a/Source/core/events/GestureEvent.h b/Source/core/events/GestureEvent.h |
index 8a6f1d056cbacf76cfae03b2075318ba83ff3f2a..dd6f9b51fd6ceaaae832e213a4a853f184bafbe3 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()); |
tkent
2013/10/08 05:24:04
Type cast functions should accept NULL argument.
r.kasibhatla
2013/10/08 09:40:15
Done.
|
return static_cast<GestureEvent*>(event); |
} |