| Index: sky/engine/core/css/StyleRule.h
|
| diff --git a/sky/engine/core/css/StyleRule.h b/sky/engine/core/css/StyleRule.h
|
| index 9839fe8f2a86e86c4025eef5a43d508aff5b666f..33621b51de064b311fac36e49d1d6e99b6c4e89e 100644
|
| --- a/sky/engine/core/css/StyleRule.h
|
| +++ b/sky/engine/core/css/StyleRule.h
|
| @@ -36,15 +36,13 @@ public:
|
| enum Type {
|
| Unknown, // Not used.
|
| Style,
|
| - FontFace = 4,
|
| - Keyframes = 5,
|
| - Supports = 12,
|
| + FontFace,
|
| + Supports,
|
| };
|
|
|
| Type type() const { return static_cast<Type>(m_type); }
|
|
|
| bool isFontFaceRule() const { return type() == FontFace; }
|
| - bool isKeyframesRule() const { return type() == Keyframes; }
|
| bool isStyleRule() const { return type() == Style; }
|
| bool isSupportsRule() const { return type() == Supports; }
|
|
|
|
|