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

Unified Diff: Source/core/events/WheelEvent.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/WheelEvent.h
diff --git a/Source/core/events/WheelEvent.h b/Source/core/events/WheelEvent.h
index 3e99335687540ef4ba044d900f630550f390580f..143bea5539501f42588791a68bce8f6acfa2ed7e 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());
tkent 2013/10/08 05:24:04 should accept NULL event.
r.kasibhatla 2013/10/08 09:40:15 Done.
return static_cast<WheelEvent*>(event);
}

Powered by Google App Engine
This is Rietveld 408576698