diff options
Diffstat (limited to 'gm/samplerstress.cpp')
-rw-r--r-- | gm/samplerstress.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/samplerstress.cpp b/gm/samplerstress.cpp index ee87f091f9..64a42b9630 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); |