Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: sky/engine/core/css/StyleRule.h

Issue 876433002: Remove even more @keyframes related code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/css/StyleKeyframe.cpp ('k') | sky/engine/core/css/StyleRule.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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; }
« no previous file with comments | « sky/engine/core/css/StyleKeyframe.cpp ('k') | sky/engine/core/css/StyleRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698