Index: gm/patchgrid.cpp |
diff --git a/gm/patchgrid.cpp b/gm/patchgrid.cpp |
index 962c1a9dffed7f43dc2eed9961dfb89277683960..a36e58f72794e6cfca218afd1fc670b2c9e9caec 100644 |
--- a/gm/patchgrid.cpp |
+++ b/gm/patchgrid.cpp |
@@ -105,8 +105,8 @@ protected: |
{{50,325},{150,325},{250,325},{350,325},{450,325}} |
}; |
- static const int kRows = 3; |
- static const int kCols = 4; |
+ constexpr int kRows = 3; |
+ constexpr int kCols = 4; |
canvas->scale(3, 3); |
SkPatchGrid grid(kRows, kCols, SkPatchGrid::kColors_VertexType, nullptr); |