| Index: src/pdf/SkPDFFont.cpp
|
| diff --git a/src/pdf/SkPDFFont.cpp b/src/pdf/SkPDFFont.cpp
|
| index 017b0168b04d8625131cd1bf78dd2c6b7b78f74a..17623c7c3be3f4af7209475eaf8529b8bbbff3e9 100644
|
| --- a/src/pdf/SkPDFFont.cpp
|
| +++ b/src/pdf/SkPDFFont.cpp
|
| @@ -603,8 +603,7 @@ static size_t get_subset_font_stream(const char* fontName,
|
| unsigned char* subsetFont = NULL;
|
| // sfntly requires unsigned int* to be passed in, as far as we know,
|
| // unsigned int is equivalent to uint32_t on all platforms.
|
| - SK_COMPILE_ASSERT(sizeof(unsigned int) == sizeof(uint32_t),
|
| - unsigned_int_not_32_bits);
|
| + static_assert(sizeof(unsigned int) == sizeof(uint32_t), "unsigned_int_not_32_bits");
|
| int subsetFontSize = SfntlyWrapper::SubsetFont(fontName,
|
| originalFont.begin(),
|
| fontSize,
|
|
|