| Index: third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h
|
| index c60dc23ffcbde7af3364bed6dddc4fe03b0a0ca5..db69571d9fd4a4b8df130817eb489c5604a4f803 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h
|
| +++ b/third_party/WebKit/Source/core/css/resolver/ScopedStyleResolver.h
|
| @@ -55,6 +55,7 @@ public:
|
| ScopedStyleResolver* parent() const;
|
|
|
| StyleRuleKeyframes* keyframeStylesForAnimation(const StringImpl* animationName);
|
| + CSSStyleSheet* styleSheetForAnimation(const StringImpl* animationName);
|
|
|
| void appendCSSStyleSheet(CSSStyleSheet&, const MediaQueryEvaluator&);
|
| void collectMatchingAuthorRules(ElementRuleCollector&, bool includeEmptyRules, CascadeOrder = ignoreCascadeOrder);
|
| @@ -74,9 +75,9 @@ private:
|
| }
|
|
|
| void addTreeBoundaryCrossingRules(const RuleSet&, CSSStyleSheet*, unsigned sheetIndex);
|
| - void addKeyframeRules(const RuleSet&);
|
| + void addKeyframeRules(const RuleSet&, CSSStyleSheet*);
|
| void addFontFaceRules(const RuleSet&);
|
| - void addKeyframeStyle(PassRefPtrWillBeRawPtr<StyleRuleKeyframes>);
|
| + void addKeyframeStyle(PassRefPtrWillBeRawPtr<StyleRuleKeyframes>, CSSStyleSheet*);
|
|
|
| RawPtrWillBeMember<TreeScope> m_scope;
|
|
|
| @@ -84,6 +85,7 @@ private:
|
|
|
| using KeyframesRuleMap = WillBeHeapHashMap<const StringImpl*, RefPtrWillBeMember<StyleRuleKeyframes>>;
|
| KeyframesRuleMap m_keyframesRuleMap;
|
| + WillBeHeapHashMap<const StringImpl*, CSSStyleSheet*> m_keyframesStyleSheetMap;
|
|
|
| class RuleSubSet final : public NoBaseWillBeGarbageCollected<RuleSubSet> {
|
| public:
|
|
|