| Index: ppapi/shared_impl/id_assignment.cc
|
| diff --git a/ppapi/shared_impl/id_assignment.cc b/ppapi/shared_impl/id_assignment.cc
|
| index 363dbb49f910ef7d9e1c85b4b4a065a3e1514605..5c5aed6b82271e5795eff0e55baeafb70419ad56 100644
|
| --- a/ppapi/shared_impl/id_assignment.cc
|
| +++ b/ppapi/shared_impl/id_assignment.cc
|
| @@ -12,7 +12,7 @@ const unsigned int kPPIdTypeBits = 2;
|
|
|
| const int32 kMaxPPId = kint32max >> kPPIdTypeBits;
|
|
|
| -COMPILE_ASSERT(PP_ID_TYPE_COUNT <= (1 << kPPIdTypeBits),
|
| - kPPIdTypeBits_is_too_small_for_all_id_types);
|
| +static_assert(PP_ID_TYPE_COUNT <= (1 << kPPIdTypeBits),
|
| + "kPPIdTypeBits is too small for all id types");
|
|
|
| } // namespace ppapi
|
|
|