| Index: content/public/common/common_param_traits_macros.h
|
| diff --git a/content/public/common/common_param_traits_macros.h b/content/public/common/common_param_traits_macros.h
|
| index 1f619c0bf78678f721c9688af76373851839c873..df89031fd39fceb708edf02efe4bdcb3007c5cc4 100644
|
| --- a/content/public/common/common_param_traits_macros.h
|
| +++ b/content/public/common/common_param_traits_macros.h
|
| @@ -28,7 +28,10 @@
|
| #undef IPC_MESSAGE_EXPORT
|
| #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
|
|
|
| -IPC_ENUM_TRAITS(ui::PageTransition) // Bitmask.
|
| +IPC_ENUM_TRAITS_VALIDATE(ui::PageTransition,
|
| + ((value &
|
| + ui::PageTransition::PAGE_TRANSITION_CORE_MASK) <=
|
| + ui::PageTransition::PAGE_TRANSITION_LAST_CORE))
|
| IPC_ENUM_TRAITS_MAX_VALUE(net::NetworkChangeNotifier::ConnectionType,
|
| net::NetworkChangeNotifier::CONNECTION_LAST)
|
| IPC_ENUM_TRAITS_MAX_VALUE(content::ConsoleMessageLevel,
|
|
|