Index: components/translate/content/common/translate_messages.h |
diff --git a/components/translate/content/common/translate_messages.h b/components/translate/content/common/translate_messages.h |
index d8186118aa77b62a75686800893f2d9ae4f18b8a..f9a49db2f6c347aedda1a054bf938519d1a4bd93 100644 |
--- a/components/translate/content/common/translate_messages.h |
+++ b/components/translate/content/common/translate_messages.h |
@@ -12,7 +12,8 @@ |
#define IPC_MESSAGE_START TranslateMsgStart |
-IPC_ENUM_TRAITS(translate::TranslateErrors::Type) |
+IPC_ENUM_TRAITS_MAX_VALUE(translate::TranslateErrors::Type, |
+ translate::TranslateErrors::TYPE_LAST) |
IPC_STRUCT_TRAITS_BEGIN(translate::LanguageDetectionDetails) |
IPC_STRUCT_TRAITS_MEMBER(time) |