Index: src/images/SkScaledBitmapSampler.cpp |
diff --git a/src/images/SkScaledBitmapSampler.cpp b/src/images/SkScaledBitmapSampler.cpp |
index f79eb6f905f110703810786302e207d8fc380e6a..1d8d98dafd4fdda60068c97fbce6cd1510535a79 100644 |
--- a/src/images/SkScaledBitmapSampler.cpp |
+++ b/src/images/SkScaledBitmapSampler.cpp |
@@ -660,8 +660,8 @@ bool SkScaledBitmapSampler::begin(SkBitmap* dst, SrcConfig sc, |
// The jump between dst configs in the table |
static const int gProcDstConfigSpan = 5; |
- SK_COMPILE_ASSERT(SK_ARRAY_COUNT(gProcChoosers) == 5 * gProcDstConfigSpan, |
- gProcs_has_the_wrong_number_of_entries); |
+ static_assert(SK_ARRAY_COUNT(gProcChoosers) == 5 * gProcDstConfigSpan, |
+ "gProcs_has_the_wrong_number_of_entries"); |
fCTable = ctable; |