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

Unified Diff: base/android/jni_array_unittest.cc

Issue 1472083005: Remove kint64min. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kint5
Patch Set: rebase Created 5 years 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 | base/basictypes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/jni_array_unittest.cc
diff --git a/base/android/jni_array_unittest.cc b/base/android/jni_array_unittest.cc
index 755c10ef2510d1a1cb9854be3606a2785f984871..b3ad75f13bbb2fcedf69033dc89cd95debd3d8a4 100644
--- a/base/android/jni_array_unittest.cc
+++ b/base/android/jni_array_unittest.cc
@@ -89,7 +89,8 @@ void CheckLongConversion(JNIEnv* env,
}
TEST(JniArray, LongConversions) {
- const int64_t kLongs[] = {0, 1, -1, kint64min, kint64max};
+ const int64_t kLongs[] = {0, 1, -1, std::numeric_limits<int64_t>::min(),
+ std::numeric_limits<int64_t>::max()};
const size_t kLen = arraysize(kLongs);
JNIEnv* env = AttachCurrentThread();
« no previous file with comments | « no previous file | base/basictypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698