Index: content/browser/renderer_host/input/web_input_event_util.cc |
diff --git a/content/browser/renderer_host/input/web_input_event_util.cc b/content/browser/renderer_host/input/web_input_event_util.cc |
index bfba064bdf6889c5778526f601429c194affc65e..d0491e4514dc416e7d3358709700257ef6fdb82e 100644 |
--- a/content/browser/renderer_host/input/web_input_event_util.cc |
+++ b/content/browser/renderer_host/input/web_input_event_util.cc |
@@ -258,9 +258,9 @@ void UpdateWindowsKeyCodeAndKeyIdentifier(blink::WebKeyboardEvent* event, |
blink::WebTouchEvent CreateWebTouchEventFromMotionEvent( |
const ui::MotionEvent& event, |
bool may_cause_scrolling) { |
- COMPILE_ASSERT(static_cast<int>(MotionEvent::MAX_TOUCH_POINT_COUNT) == |
- static_cast<int>(blink::WebTouchEvent::touchesLengthCap), |
- inconsistent_maximum_number_of_active_touch_points); |
+ static_assert(static_cast<int>(MotionEvent::MAX_TOUCH_POINT_COUNT) == |
+ static_cast<int>(blink::WebTouchEvent::touchesLengthCap), |
+ "inconsistent maximum number of active touch points"); |
blink::WebTouchEvent result; |