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

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: Updated to ToT. Patch for landing. 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..27c89677931df0b3b3469139c8f2a00a4c7be806 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());
return static_cast<WheelEvent*>(event);
}

Powered by Google App Engine
This is Rietveld 408576698