Index: gm/glyph_pos.cpp |
diff --git a/gm/glyph_pos.cpp b/gm/glyph_pos.cpp |
index ed61c7634b008c0aa0c140b1e4190ff3cdfabd4e..7628fbe2983eeedcf879e5f803820c9251257c34 100644 |
--- a/gm/glyph_pos.cpp |
+++ b/gm/glyph_pos.cpp |
@@ -14,8 +14,8 @@ |
* glyph_pos_(h/n)_(s/f/b) |
* -> test hairline/non-hairline stroke/fill/stroke+fill. |
*/ |
-static const SkScalar kTextHeight = 14.0f; |
-static const char kText[] = "Proportional Hamburgefons #% fi"; |
+constexpr SkScalar kTextHeight = 14.0f; |
+constexpr char kText[] = "Proportional Hamburgefons #% fi"; |
static void drawTestCase(SkCanvas* canvas, |
SkScalar textScale, |