Index: gm/gm.cpp |
diff --git a/gm/gm.cpp b/gm/gm.cpp |
index e0cb8b8772eb94402fd9a9ff44fa5ee073c49a4e..b6cac0ce1fe31632cee1a6f9d8a91816c984db86 100644 |
--- a/gm/gm.cpp |
+++ b/gm/gm.cpp |
@@ -80,7 +80,7 @@ void GM::DrawGpuOnlyMessage(SkCanvas* canvas) { |
paint.setTextSize(20); |
paint.setColor(SK_ColorRED); |
sk_tool_utils::set_portable_typeface(&paint); |
- static const char kTxt[] = "GPU Only"; |
+ constexpr char kTxt[] = "GPU Only"; |
bmpCanvas.drawText(kTxt, strlen(kTxt), 20, 40, paint); |
SkMatrix localM; |
localM.setRotate(35.f); |