aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/arithmode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/arithmode.cpp')
-rw-r--r--gm/arithmode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/arithmode.cpp b/gm/arithmode.cpp
index cd074d4b12..70661a0fba 100644
--- a/gm/arithmode.cpp
+++ b/gm/arithmode.cpp
@@ -82,8 +82,8 @@ protected:
SkBitmap src = make_src();
SkBitmap dst = make_dst();
- const SkScalar one = SK_Scalar1;
- static const SkScalar K[] = {
+ constexpr SkScalar one = SK_Scalar1;
+ constexpr SkScalar K[] = {
0, 0, 0, 0,
0, 0, 0, one,
0, one, 0, 0,