Index: gm/complexclip3.cpp |
diff --git a/gm/complexclip3.cpp b/gm/complexclip3.cpp |
index 67916caf760b794e1e60066e2bfcab391abb9341..1deb44614587013217dc411e2406978c7f754370 100644 |
--- a/gm/complexclip3.cpp |
+++ b/gm/complexclip3.cpp |
@@ -10,7 +10,7 @@ |
namespace skiagm { |
-static const SkColor gPathColor = SK_ColorYELLOW; |
+constexpr SkColor gPathColor = SK_ColorYELLOW; |
class ComplexClip3GM : public GM { |
public: |
@@ -51,7 +51,7 @@ protected: |
sk_tool_utils::set_portable_typeface(&paint); |
paint.setTextSize(SkIntToScalar(20)); |
- static const struct { |
+ constexpr struct { |
SkRegion::Op fOp; |
const char* fName; |
} gOps[] = { |