Index: src/core/SkConvolver.h |
diff --git a/src/core/SkConvolver.h b/src/core/SkConvolver.h |
index 21419a94005468e138ad74271546f83333b0603b..4beb7550f751b20254ddcc05de2d738d275e862f 100644 |
--- a/src/core/SkConvolver.h |
+++ b/src/core/SkConvolver.h |
@@ -46,7 +46,7 @@ public: |
// The cast relies on ConvolutionFixed being a short, implying that on |
// the platforms we care about all (16) bits will fit into |
// the mantissa of a (32-bit) float. |
- SK_COMPILE_ASSERT(sizeof(ConvolutionFixed) == 2, ConvolutionFixed_type_should_fit_in_float_mantissa); |
+ static_assert(sizeof(ConvolutionFixed) == 2, "ConvolutionFixed_type_should_fit_in_float_mantissa"); |
float raw = static_cast<float>(x); |
return ldexpf(raw, -kShiftBits); |
} |