Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(899)

Unified Diff: Source/core/events/GestureEvent.h

Issue 26434002: Cleanup: Add more conversion helpers for usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698