Index: src/core/SkXfermode.cpp |
diff --git a/src/core/SkXfermode.cpp b/src/core/SkXfermode.cpp |
index 59b689ceeb9e2b180ec6ae818b5b3de570024b8d..c9a81226a4588ed7546b493971357140c2143ceb 100644 |
--- a/src/core/SkXfermode.cpp |
+++ b/src/core/SkXfermode.cpp |
@@ -966,7 +966,7 @@ const char* SkXfermode::ModeName(Mode mode) { |
"Multiply", "Hue", "Saturation", "Color", "Luminosity" |
}; |
return gModeStrings[mode]; |
- SK_COMPILE_ASSERT(SK_ARRAY_COUNT(gModeStrings) == kLastMode + 1, mode_count); |
+ static_assert(SK_ARRAY_COUNT(gModeStrings) == kLastMode + 1, "mode_count"); |
} |
#ifndef SK_IGNORE_TO_STRING |