Index: ui/events/gesture_detection/touch_disposition_gesture_filter.cc |
diff --git a/ui/events/gesture_detection/touch_disposition_gesture_filter.cc b/ui/events/gesture_detection/touch_disposition_gesture_filter.cc |
index 16bcf23bc29e9ef77e01a34f99b96d4d440dbf1b..0fa42bd2dc7771b62f58c8ecf01f12592bcdb724 100644 |
--- a/ui/events/gesture_detection/touch_disposition_gesture_filter.cc |
+++ b/ui/events/gesture_detection/touch_disposition_gesture_filter.cc |
@@ -12,8 +12,8 @@ namespace ui { |
namespace { |
// A BitSet32 is used for tracking dropped gesture types. |
-COMPILE_ASSERT(ET_GESTURE_TYPE_END - ET_GESTURE_TYPE_START < 32, |
- gesture_type_count_too_large); |
+static_assert(ET_GESTURE_TYPE_END - ET_GESTURE_TYPE_START < 32, |
+ "gesture type count too large"); |
GestureEventData CreateGesture(EventType type, |
int motion_event_id, |