Index: gm/strokerects.cpp |
diff --git a/gm/strokerects.cpp b/gm/strokerects.cpp |
index afd41b220698ea8c713dd9914ff25ad34cdbefe6..fc5743eb743941610561f9f536dae10c6fa3c435 100644 |
--- a/gm/strokerects.cpp |
+++ b/gm/strokerects.cpp |
@@ -16,8 +16,8 @@ namespace skiagm { |
#define H 400 |
#define N 100 |
-static const SkScalar SW = SkIntToScalar(W); |
-static const SkScalar SH = SkIntToScalar(H); |
+constexpr SkScalar SW = SkIntToScalar(W); |
+constexpr SkScalar SH = SkIntToScalar(H); |
class StrokeRectsGM : public GM { |
public: |