Index: gm/textblobshader.cpp |
diff --git a/gm/textblobshader.cpp b/gm/textblobshader.cpp |
index 6a8fa49289996268f4b1af669bdf99ec0ee3736d..bb0e03c4f3c848fb5ac8051fa0391428c8c4cf5e 100644 |
--- a/gm/textblobshader.cpp |
+++ b/gm/textblobshader.cpp |
@@ -89,8 +89,8 @@ protected: |
p.setShader(fShader); |
SkISize sz = this->onISize(); |
- static const int kXCount = 4; |
- static const int kYCount = 3; |
+ constexpr int kXCount = 4; |
+ constexpr int kYCount = 3; |
for (int i = 0; i < kXCount; ++i) { |
for (int j = 0; j < kYCount; ++j) { |
canvas->drawTextBlob(fBlob, |