Index: include/core/SkTypeface.h |
diff --git a/include/core/SkTypeface.h b/include/core/SkTypeface.h |
index 23ca15e1f92a8239dd0a250119b61c8299c50b90..b2c288ebcdd0a543e8e4711c4f77913aa1003ae7 100644 |
--- a/include/core/SkTypeface.h |
+++ b/include/core/SkTypeface.h |
@@ -8,6 +8,7 @@ |
#ifndef SkTypeface_DEFINED |
#define SkTypeface_DEFINED |
+#include "../private/SkBitmaskEnum.h" |
#include "../private/SkOnce.h" |
#include "../private/SkWeakRefCnt.h" |
#include "SkFontStyle.h" |
@@ -421,4 +422,8 @@ private: |
typedef SkWeakRefCnt INHERITED; |
}; |
+namespace skstd { |
+template <> struct is_bitmask_enum<SkTypeface::PerGlyphInfo> : std::true_type {}; |
+} |
+ |
#endif |