diff options
Diffstat (limited to 'gm/bitmaprect.cpp')
-rw-r--r-- | gm/bitmaprect.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gm/bitmaprect.cpp b/gm/bitmaprect.cpp index 4db6e2fe95..2a813004df 100644 --- a/gm/bitmaprect.cpp +++ b/gm/bitmaprect.cpp @@ -153,9 +153,9 @@ private: ////////////////////////////////////////////////////////////////////////////// static void make_big_bitmap(SkBitmap* bitmap) { - static const int gXSize = 4096; - static const int gYSize = 4096; - static const int gBorderWidth = 10; + constexpr int gXSize = 4096; + constexpr int gYSize = 4096; + constexpr int gBorderWidth = 10; bitmap->allocN32Pixels(gXSize, gYSize); for (int y = 0; y < gYSize; ++y) { |