Index: gm/arithmode.cpp |
diff --git a/gm/arithmode.cpp b/gm/arithmode.cpp |
index cd074d4b12cd7eb17489e545a7c666d763abd9ec..70661a0fbaa45b331244bb37c88750faa53c572e 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, |