Index: gm/dashcircle.cpp |
diff --git a/gm/dashcircle.cpp b/gm/dashcircle.cpp |
index f631c4047694dcc01d9af0b8885a219b8f47054a..fbe08b7bbe478b34d91b57e8263b65dbf7067813 100644 |
--- a/gm/dashcircle.cpp |
+++ b/gm/dashcircle.cpp |
@@ -95,7 +95,7 @@ protected: |
} |
bool onAnimate(const SkAnimTimer& timer) override { |
- static const SkScalar kDesiredDurationSecs = 100.0f; |
+ constexpr SkScalar kDesiredDurationSecs = 100.0f; |
fRotation = timer.scaled(360.0f/kDesiredDurationSecs, 360.0f); |
return true; |