| Index: gm/bitmappremul.cpp
|
| diff --git a/gm/bitmappremul.cpp b/gm/bitmappremul.cpp
|
| index 172612ddb09f7d16463d92886ea5329a732353e1..31a565018da6c9187b40c7772549cb293f7dee7c 100644
|
| --- a/gm/bitmappremul.cpp
|
| +++ b/gm/bitmappremul.cpp
|
| @@ -18,9 +18,9 @@
|
| * This tests both the ARGB4444 and ARGB8888 bitmap configurations.
|
| */
|
|
|
| -static const int SLIDE_SIZE = 256;
|
| -static const int PIXEL_SIZE_8888 = SLIDE_SIZE / 256;
|
| -static const int PIXEL_SIZE_4444 = SLIDE_SIZE / 16;
|
| +constexpr int SLIDE_SIZE = 256;
|
| +constexpr int PIXEL_SIZE_8888 = SLIDE_SIZE / 256;
|
| +constexpr int PIXEL_SIZE_4444 = SLIDE_SIZE / 16;
|
|
|
| static void init_bitmap(SkColorType ct, SkBitmap* bitmap) {
|
| bitmap->allocPixels(SkImageInfo::Make(SLIDE_SIZE, SLIDE_SIZE, ct,
|
|
|