Index: src/core/SkTextFormatParams.h |
diff --git a/src/core/SkTextFormatParams.h b/src/core/SkTextFormatParams.h |
index dac4aefd62fcf75ba60ae709ae4b0f05b3758885..f41c4de1d54503dde336869f2663d3a9f1024399 100644 |
--- a/src/core/SkTextFormatParams.h |
+++ b/src/core/SkTextFormatParams.h |
@@ -30,12 +30,10 @@ static const SkScalar kStdFakeBoldInterpKeys[] = { |
}; |
static const SkScalar kStdFakeBoldInterpValues[] = { |
SK_Scalar1/24, |
- SK_Scalar1/32 |
+ SK_Scalar1/32, |
}; |
-SK_COMPILE_ASSERT(SK_ARRAY_COUNT(kStdFakeBoldInterpKeys) == |
- SK_ARRAY_COUNT(kStdFakeBoldInterpValues), |
- mismatched_array_size); |
-static const int kStdFakeBoldInterpLength = |
- SK_ARRAY_COUNT(kStdFakeBoldInterpKeys); |
+static_assert(SK_ARRAY_COUNT(kStdFakeBoldInterpKeys) == SK_ARRAY_COUNT(kStdFakeBoldInterpValues), |
+ "mismatched_array_size"); |
+static const int kStdFakeBoldInterpLength = SK_ARRAY_COUNT(kStdFakeBoldInterpKeys); |
#endif //SkTextFormatParams_DEFINES |