Fix incorrect IPC_ENUM_TRAITS_MAX_VALUE for NTPLoggingEventType
The comment for IPC_ENUM_TRAITS_MAX_VALUE says you should pass the largest
possible value, inclusive. But NTP_NUM_EVENT_TYPES is one larger than the
largest possible NTPLoggingEventType.
Review URL: https://codereview.chromium.org/662823002
Cr-Commit-Position: refs/heads/master@{#300248}
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index 3583f896..8bba1bcb 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -188,7 +188,7 @@
IPC_STRUCT_TRAITS_END()
IPC_ENUM_TRAITS_MAX_VALUE(NTPLoggingEventType,
- NTP_NUM_EVENT_TYPES)
+ NTP_EVENT_TYPE_LAST)
IPC_ENUM_TRAITS_MAX_VALUE(WebApplicationInfo::MobileCapable,
WebApplicationInfo::MOBILE_CAPABLE_APPLE)