Index: gm/strokedlines.cpp |
diff --git a/gm/strokedlines.cpp b/gm/strokedlines.cpp |
index f0eb6b45cf45b3093c5efef7dd97012dfa6c789c..7bcb3fb5789a656b2f529fd7915f437102922489 100644 |
--- a/gm/strokedlines.cpp |
+++ b/gm/strokedlines.cpp |
@@ -13,12 +13,12 @@ |
#include "SkPath.h" |
#include "SkPoint3.h" |
-static const int kNumColumns = 6; |
-static const int kNumRows = 8; |
-static const int kRadius = 40; // radius of the snowflake |
-static const int kPad = 5; // padding on both sides of the snowflake |
-static const int kNumSpokes = 6; |
-static const SkScalar kStrokeWidth = 5.0f; |
+constexpr int kNumColumns = 6; |
+constexpr int kNumRows = 8; |
+constexpr int kRadius = 40; // radius of the snowflake |
+constexpr int kPad = 5; // padding on both sides of the snowflake |
+constexpr int kNumSpokes = 6; |
+constexpr SkScalar kStrokeWidth = 5.0f; |
static void draw_fins(SkCanvas* canvas, const SkPoint& offset, float angle, const SkPaint& paint) { |
SkScalar cos, sin; |