| Index: skia/ext/convolver.h
|
| diff --git a/skia/ext/convolver.h b/skia/ext/convolver.h
|
| index ace8c217b3e9c064c9cf0c9bbd03e1e59b33e508..1f61f23a2ca395759822224371fed46640ab5a44 100644
|
| --- a/skia/ext/convolver.h
|
| +++ b/skia/ext/convolver.h
|
| @@ -60,7 +60,8 @@ class ConvolutionFilter1D {
|
| // The cast relies on Fixed being a short, implying that on
|
| // the platforms we care about all (16) bits will fit into
|
| // the mantissa of a (32-bit) float.
|
| - COMPILE_ASSERT(sizeof(Fixed) == 2, fixed_type_should_fit_in_float_mantissa);
|
| + static_assert(sizeof(Fixed) == 2,
|
| + "fixed type should fit in float mantissa");
|
| float raw = static_cast<float>(x);
|
| return ldexpf(raw, -kShiftBits);
|
| }
|
|
|