Index: gm/convex_all_line_paths.cpp |
diff --git a/gm/convex_all_line_paths.cpp b/gm/convex_all_line_paths.cpp |
index a93a7f6e4722c0dac138225e99f7882881e437fc..435a37a10af8020e7406cb159be0486d3b308ffc 100644 |
--- a/gm/convex_all_line_paths.cpp |
+++ b/gm/convex_all_line_paths.cpp |
@@ -163,7 +163,7 @@ protected: |
SK_ARRAY_COUNT(gPoints9), |
SK_ARRAY_COUNT(gPoints10), |
}; |
- SK_COMPILE_ASSERT(SK_ARRAY_COUNT(gSizes) == SK_ARRAY_COUNT(gPoints), array_mismatch); |
+ static_assert(SK_ARRAY_COUNT(gSizes) == SK_ARRAY_COUNT(gPoints), "array_mismatch"); |
SkAutoTDeleteArray<SkPoint> data(NULL); |
const SkPoint* points; |