Index: src/effects/SkDropShadowImageFilter.cpp |
diff --git a/src/effects/SkDropShadowImageFilter.cpp b/src/effects/SkDropShadowImageFilter.cpp |
index c453411d8064b4901bdca1f49d13cabdcd21a2fd..fb3ea319c642f660ab742ba722dbd3ca401adc2d 100644 |
--- a/src/effects/SkDropShadowImageFilter.cpp |
+++ b/src/effects/SkDropShadowImageFilter.cpp |
@@ -153,7 +153,7 @@ void SkDropShadowImageFilter::toString(SkString* str) const { |
"kDrawShadowAndForeground", "kDrawShadowOnly" |
}; |
- SK_COMPILE_ASSERT(kShadowModeCount == SK_ARRAY_COUNT(gModeStrings), enum_mismatch); |
+ static_assert(kShadowModeCount == SK_ARRAY_COUNT(gModeStrings), "enum_mismatch"); |
str->appendf(" mode: %s", gModeStrings[fShadowMode]); |