Index: gm/samplerstress.cpp |
diff --git a/gm/samplerstress.cpp b/gm/samplerstress.cpp |
index ee87f091f9b86e8145c0798299410449853f2db7..64a42b96307855e86437581d727b3e69728aa020 100644 |
--- a/gm/samplerstress.cpp |
+++ b/gm/samplerstress.cpp |
@@ -42,8 +42,8 @@ protected: |
return; |
} |
- static const int xSize = 16; |
- static const int ySize = 16; |
+ constexpr int xSize = 16; |
+ constexpr int ySize = 16; |
fTexture.allocN32Pixels(xSize, ySize); |
SkPMColor* addr = fTexture.getAddr32(0, 0); |