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

Unified Diff: sky/engine/core/css/resolver/ScopedStyleResolver.h

Issue 839473005: Simplify ScopedStyleResolver keyframe handling. (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
Index: sky/engine/core/css/resolver/ScopedStyleResolver.h
diff --git a/sky/engine/core/css/resolver/ScopedStyleResolver.h b/sky/engine/core/css/resolver/ScopedStyleResolver.h
index 59f0558f6bb900e0bf83a8437aee2eeaeca7fefa..7ae23d4342eb1acd13deb6c8ad5e09c8839167ff 100644
--- a/sky/engine/core/css/resolver/ScopedStyleResolver.h
+++ b/sky/engine/core/css/resolver/ScopedStyleResolver.h
@@ -54,8 +54,7 @@ public:
const TreeScope& treeScope() const { return *m_scope; }
public:
- const StyleRuleKeyframes* keyframeStylesForAnimation(const StringImpl* animationName);
- void addKeyframeStyle(PassRefPtr<StyleRuleKeyframes>);
+ const StyleRuleKeyframes* keyframeStylesForAnimation(String animationName);
void collectMatchingAuthorRules(ElementRuleCollector&, bool includeEmptyRules, bool applyAuthorStyles, CascadeScope, CascadeOrder = ignoreCascadeOrder);
void addRulesFromSheet(CSSStyleSheet*, StyleResolver*);
@@ -70,9 +69,6 @@ private:
RawPtr<TreeScope> m_scope;
Vector<RawPtr<CSSStyleSheet> > m_authorStyleSheets;
- typedef HashMap<const StringImpl*, RefPtr<StyleRuleKeyframes> > KeyframesRuleMap;
- KeyframesRuleMap m_keyframesRuleMap;
-
RuleFeatureSet m_features;
};

Powered by Google App Engine
This is Rietveld 408576698