Index: gm/glyph_pos_align.cpp |
diff --git a/gm/glyph_pos_align.cpp b/gm/glyph_pos_align.cpp |
index 0ac877d0d0a2d3855e98b847bd2ea6185f448cc3..e0bf83e4f21ab7f19f99028e0a03f12eb7147cb4 100644 |
--- a/gm/glyph_pos_align.cpp |
+++ b/gm/glyph_pos_align.cpp |
@@ -12,10 +12,10 @@ |
/** |
* This test exercises drawPosTextH and drawPosText with every text align. |
*/ |
-static const int kWidth = 480; |
-static const int kHeight = 600; |
-static const SkScalar kTextHeight = 64.0f; |
-static const int kMaxStringLength = 12; |
+constexpr int kWidth = 480; |
+constexpr int kHeight = 600; |
+constexpr SkScalar kTextHeight = 64.0f; |
+constexpr int kMaxStringLength = 12; |
static void drawTestCase(SkCanvas*, const char*, SkScalar, const SkPaint&); |