From e1bc7de7c07686b28b00b850e44e0722189f3592 Mon Sep 17 00:00:00 2001 From: Hal Canary Date: Wed, 13 Jun 2018 15:01:39 -0400 Subject: Remove SK_MaxSizeT, SK_M{in|ax}U{16|32}, #defines. sed 's/SK_MaxSizeT/SIZE_MAX/g' sed 's/SK_MaxU32/UINT32_MAX/g' sed 's/SK_MaxU16/UINT16_MAX/g' SK_MinU32 and SK_MinU16 were unused Change-Id: I6b6c824df47b05bde7e73b13a58e851a5f63fe0e Reviewed-on: https://skia-review.googlesource.com/134607 Commit-Queue: Hal Canary Reviewed-by: Ben Wagner --- tests/StringTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/StringTest.cpp') diff --git a/tests/StringTest.cpp b/tests/StringTest.cpp index f8c319e9be..503dbb8158 100644 --- a/tests/StringTest.cpp +++ b/tests/StringTest.cpp @@ -300,7 +300,7 @@ DEF_TEST(String_Threaded, r) { // let us create a string with a requested length longer than we can manage. DEF_TEST(String_huge, r) { // start testing slightly below max 32 - size_t size = SK_MaxU32 - 16; + size_t size = UINT32_MAX - 16; // See where we crash, and manually check that its at the right point. // // To test, change the false to true -- cgit v1.2.3