Index: gm/pixelsnap.cpp |
diff --git a/gm/pixelsnap.cpp b/gm/pixelsnap.cpp |
index 3358e9d410caffb2683c3bc4c89c62d30c6134a5..ea85a948acd01c418b763d6a6640a9d5a22b5f4e 100644 |
--- a/gm/pixelsnap.cpp |
+++ b/gm/pixelsnap.cpp |
@@ -23,7 +23,7 @@ protected: |
static const int kSubPixelSteps = 8; |
static const int kLabelTextSize = 9; |
- SK_COMPILE_ASSERT(kSubPixelSteps < 99, label_offset_too_small); |
+ static_assert(kSubPixelSteps < 99, "label_offset_too_small"); |
static const int kLabelOffsetX = 2 * kLabelTextSize + kLabelPad; |
static const int kLabelOffsetY = kLabelTextSize + kLabelPad; |