Index: tests/ImageDecodingTest.cpp |
diff --git a/tests/ImageDecodingTest.cpp b/tests/ImageDecodingTest.cpp |
index e3861d2aac75011d4cb6abfd2e26effc18b0ebd1..1348ded448e97b1cb81549775fdd775f6465bb85 100644 |
--- a/tests/ImageDecodingTest.cpp |
+++ b/tests/ImageDecodingTest.cpp |
@@ -358,8 +358,8 @@ static const SkColor kExpectedPixels[] = { |
0xffb07222, 0xff2e23f8, 0xfff089d9, 0xffb35738, |
0xffa86022, 0xff3340fe, 0xff95fe71, 0xff6a71df |
}; |
-SK_COMPILE_ASSERT((kExpectedWidth * kExpectedHeight) |
- == SK_ARRAY_COUNT(kExpectedPixels), array_size_mismatch); |
+static_assert((kExpectedWidth * kExpectedHeight) == SK_ARRAY_COUNT(kExpectedPixels), |
+ "array_size_mismatch"); |
DEF_TEST(WebP, reporter) { |
const unsigned char encodedWebP[] = { |