Index: gm/imagesource2.cpp |
diff --git a/gm/imagesource2.cpp b/gm/imagesource2.cpp |
index ba6af46cfbd547bc4405ff259726ef35a1f33ff1..70a91daabcf009c17c335094b946209d4c8093c3 100644 |
--- a/gm/imagesource2.cpp |
+++ b/gm/imagesource2.cpp |
@@ -31,7 +31,7 @@ protected: |
// Create an image with high frequency vertical stripes |
void onOnceBeforeDraw() override { |
- static const SkPMColor gColors[] = { |
+ constexpr SkPMColor gColors[] = { |
SK_ColorRED, SK_ColorGRAY, |
SK_ColorGREEN, SK_ColorGRAY, |
SK_ColorBLUE, SK_ColorGRAY, |
@@ -73,7 +73,7 @@ protected: |
} |
private: |
- static const int kImageSize = 503; |
+ static constexpr int kImageSize = 503; |
SkString fSuffix; |
SkFilterQuality fFilter; |