| Index: ppapi/shared_impl/id_assignment.cc
|
| diff --git a/ppapi/shared_impl/id_assignment.cc b/ppapi/shared_impl/id_assignment.cc
|
| index 5c5aed6b82271e5795eff0e55baeafb70419ad56..b1120e9c2b8d4652776d4610afebf40012a05263 100644
|
| --- a/ppapi/shared_impl/id_assignment.cc
|
| +++ b/ppapi/shared_impl/id_assignment.cc
|
| @@ -4,13 +4,13 @@
|
|
|
| #include "ppapi/shared_impl/id_assignment.h"
|
|
|
| -#include "base/basictypes.h"
|
| +#include <stdint.h>
|
|
|
| namespace ppapi {
|
|
|
| const unsigned int kPPIdTypeBits = 2;
|
|
|
| -const int32 kMaxPPId = kint32max >> kPPIdTypeBits;
|
| +const int32_t kMaxPPId = INT32_MAX >> kPPIdTypeBits;
|
|
|
| static_assert(PP_ID_TYPE_COUNT <= (1 << kPPIdTypeBits),
|
| "kPPIdTypeBits is too small for all id types");
|
|
|