Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(495)

Unified Diff: ppapi/shared_impl/id_assignment.cc

Issue 8773029: Remove 1 static initializer in id_assignment.cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/id_assignment.cc
diff --git a/ppapi/shared_impl/id_assignment.cc b/ppapi/shared_impl/id_assignment.cc
index 5cbb1b1f7e61590de416b8ebe3a7c2f4f0addaeb..9d36822c5dc50ec99ce5ae82701c9d7d3f47f3a7 100644
--- a/ppapi/shared_impl/id_assignment.cc
+++ b/ppapi/shared_impl/id_assignment.cc
@@ -10,7 +10,7 @@ namespace ppapi {
const unsigned int kPPIdTypeBits = 2;
-const int32 kMaxPPId = std::numeric_limits<int32>::max() >> kPPIdTypeBits;
+const int32 kMaxPPId = kint32max >> kPPIdTypeBits;
COMPILE_ASSERT(PP_ID_TYPE_COUNT <= (1<<kPPIdTypeBits),
kPPIdTypeBits_is_too_small_for_all_id_types);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698