| Index: gm/imagemagnifier.cpp
|
| diff --git a/gm/imagemagnifier.cpp b/gm/imagemagnifier.cpp
|
| index a012a9e39693095a3ea6e1b6606cfbdb1d0e2a1c..88a6d10d9639ca9571c49680cf1418ab727cefaa 100644
|
| --- a/gm/imagemagnifier.cpp
|
| +++ b/gm/imagemagnifier.cpp
|
| @@ -72,7 +72,7 @@ DEF_SIMPLE_GM_BG(imagemagnifier_cropped, canvas, WIDTH_HEIGHT, WIDTH_HEIGHT, SK_
|
| SkIntToScalar(WIDTH_HEIGHT-32));
|
| srcRect.inset(64.0f, 64.0f);
|
|
|
| - static const SkScalar kInset = 64.0f;
|
| + constexpr SkScalar kInset = 64.0f;
|
|
|
| // Crop out a 16 pixel ring around the result
|
| const SkRect rect = SkRect::MakeXYWH(16, 16, WIDTH_HEIGHT-32, WIDTH_HEIGHT-32);
|
|
|