| Index: gm/distantclip.cpp
|
| diff --git a/gm/distantclip.cpp b/gm/distantclip.cpp
|
| index 9276dadc532141b1a7166b8cc133965b02934f56..07594e788ad674c4b8e8d1a16ec6cf7ac7470bd1 100644
|
| --- a/gm/distantclip.cpp
|
| +++ b/gm/distantclip.cpp
|
| @@ -26,8 +26,8 @@ protected:
|
| SkISize onISize() { return SkISize::Make(100, 100); }
|
|
|
| virtual void onDraw(SkCanvas* canvas) {
|
| - static const SkScalar kOffset = 35000.0f;
|
| - static const SkScalar kExtents = 1000.0f;
|
| + constexpr SkScalar kOffset = 35000.0f;
|
| + constexpr SkScalar kExtents = 1000.0f;
|
|
|
| SkPictureRecorder recorder;
|
| // We record a picture of huge vertical extents in which we clear the canvas to red, create
|
|
|