Index: src/pdf/SkPDFTypes.h |
diff --git a/src/pdf/SkPDFTypes.h b/src/pdf/SkPDFTypes.h |
index 23a30b9a2b21c6460206e8e94e9fc07185bfad1e..56e534bd5e6084e1613645d6d702ececa53aa24c 100644 |
--- a/src/pdf/SkPDFTypes.h |
+++ b/src/pdf/SkPDFTypes.h |
@@ -158,7 +158,7 @@ private: |
SkPDFUnion& operator=(const SkPDFUnion&) = delete; |
SkPDFUnion(const SkPDFUnion&) = delete; |
}; |
-SK_COMPILE_ASSERT(sizeof(SkString) == sizeof(void*), SkString_size); |
+static_assert(sizeof(SkString) == sizeof(void*), "SkString_size"); |
//////////////////////////////////////////////////////////////////////////////// |