Index: gm/blurredclippedcircle.cpp |
diff --git a/gm/blurredclippedcircle.cpp b/gm/blurredclippedcircle.cpp |
index 495d16a3c2482eb2503c7ca017302481ddaefd42..bf49cd61e53ce462ac52b39ee8ea481073e8025f 100644 |
--- a/gm/blurredclippedcircle.cpp |
+++ b/gm/blurredclippedcircle.cpp |
@@ -38,7 +38,7 @@ protected: |
whitePaint.setAntiAlias(true); |
// This scale exercises precision limits in the circle blur effect (crbug.com/560651) |
- static const float kScale = 2.0f; |
+ constexpr float kScale = 2.0f; |
canvas->scale(kScale, kScale); |
canvas->save(); |
@@ -80,8 +80,8 @@ protected: |
} |
private: |
- static const int kWidth = 1164; |
- static const int kHeight = 802; |
+ static constexpr int kWidth = 1164; |
+ static constexpr int kHeight = 802; |
typedef GM INHERITED; |
}; |