aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkRRect.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkRRect.h')
-rw-r--r--include/core/SkRRect.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/core/SkRRect.h b/include/core/SkRRect.h
index 5e67f1fccb..0acc7169ba 100644
--- a/include/core/SkRRect.h
+++ b/include/core/SkRRect.h
@@ -270,9 +270,7 @@ public:
bool isValid() const;
- enum {
- kSizeInMemory = 12 * sizeof(SkScalar)
- };
+ static constexpr size_t kSizeInMemory = 12 * sizeof(SkScalar);
/**
* Write the rrect into the specified buffer. This is guaranteed to always