aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkFont.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkFont.h')
-rw-r--r--include/core/SkFont.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/core/SkFont.h b/include/core/SkFont.h
index a58ec01926..48a3d99507 100644
--- a/include/core/SkFont.h
+++ b/include/core/SkFont.h
@@ -155,9 +155,7 @@ public:
static sk_sp<SkFont> Testing_CreateFromPaint(const SkPaint&);
private:
- enum {
- kAllFlags = 0xFF,
- };
+ static constexpr int kAllFlags = 0xFF;
SkFont(sk_sp<SkTypeface>, SkScalar size, SkScalar scaleX, SkScalar skewX, MaskType,
uint32_t flags);