Index: src/effects/gradients/SkRadialGradient.cpp |
diff --git a/src/effects/gradients/SkRadialGradient.cpp b/src/effects/gradients/SkRadialGradient.cpp |
index a6a00cdf7ba39ba2cf477e561af16f9b92113095..1b995cb44fe601f7c4e2e70334694226299205d8 100644 |
--- a/src/effects/gradients/SkRadialGradient.cpp |
+++ b/src/effects/gradients/SkRadialGradient.cpp |
@@ -13,7 +13,7 @@ |
#define kSQRT_TABLE_BITS 11 |
#define kSQRT_TABLE_SIZE (1 << kSQRT_TABLE_BITS) |
-SK_COMPILE_ASSERT(sizeof(gSqrt8Table) == kSQRT_TABLE_SIZE, SqrtTableSizesMatch); |
+static_assert(sizeof(gSqrt8Table) == kSQRT_TABLE_SIZE, "SqrtTableSizesMatch"); |
#if 0 |