Index: android_webview/common/print_messages.h |
diff --git a/android_webview/common/print_messages.h b/android_webview/common/print_messages.h |
index 76fc904e864118a9dcd42dbb4724919501f53f77..90650d1b153197ba1e49812d9604ec4069f31991 100644 |
--- a/android_webview/common/print_messages.h |
+++ b/android_webview/common/print_messages.h |
@@ -77,8 +77,12 @@ struct PrintHostMsg_RequestPrintPreview_Params { |
#define IPC_MESSAGE_START PrintMsgStart |
-IPC_ENUM_TRAITS(printing::MarginType) |
-IPC_ENUM_TRAITS(blink::WebPrintScalingOption) |
+IPC_ENUM_TRAITS_MAX_VALUE(printing::MarginType, |
+ printing::MarginType::MARGIN_TYPE_LAST) |
+ |
+IPC_ENUM_TRAITS_MAX_VALUE( |
+ blink::WebPrintScalingOption, |
+ blink::WebPrintScalingOption::WebPrintScalingOptionLast) |
// Parameters for a render request. |
IPC_STRUCT_TRAITS_BEGIN(PrintMsg_Print_Params) |