Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index ed50c60e39436da38c4fd15923d6ccc29fef5ea9..81ab980413e206795b7882c2afcf4e3f547e299a 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -71,10 +71,14 @@ |
#define IPC_MESSAGE_START ViewMsgStart |
-IPC_ENUM_TRAITS(blink::WebMediaPlayerAction::Type) |
-IPC_ENUM_TRAITS(blink::WebPluginAction::Type) |
-IPC_ENUM_TRAITS(blink::WebPopupType) |
-IPC_ENUM_TRAITS(blink::WebTextDirection) |
+IPC_ENUM_TRAITS_MAX_VALUE(blink::WebMediaPlayerAction::Type, |
+ blink::WebMediaPlayerAction::Type::TypeLast) |
+IPC_ENUM_TRAITS_MAX_VALUE(blink::WebPluginAction::Type, |
+ blink::WebPluginAction::Type::TypeLast) |
+IPC_ENUM_TRAITS_MAX_VALUE(blink::WebPopupType, |
+ blink::WebPopupType::WebPopupTypeLast) |
+IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTextDirection, |
+ blink::WebTextDirection::WebTextDirectionLast) |
IPC_ENUM_TRAITS(WindowContainerType) |
IPC_ENUM_TRAITS(content::FaviconURL::IconType) |
IPC_ENUM_TRAITS(content::FileChooserParams::Mode) |