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

Unified Diff: Source/core/css/CSSKeyframesRule.h

Issue 212703003: [Oilpan]: Move StyleKeyFrame to the oilpan heap using transition types. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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: Source/core/css/CSSKeyframesRule.h
diff --git a/Source/core/css/CSSKeyframesRule.h b/Source/core/css/CSSKeyframesRule.h
index ab7809db3c7ab538bd18b330a90796e81cf483bd..aebdc1969339885d278279b55893ca77083624ae 100644
--- a/Source/core/css/CSSKeyframesRule.h
+++ b/Source/core/css/CSSKeyframesRule.h
@@ -43,10 +43,10 @@ public:
~StyleRuleKeyframes();
- const Vector<RefPtr<StyleKeyframe> >& keyframes() const { return m_keyframes; }
+ const WillBeHeapVector<RefPtrWillBeMember<StyleKeyframe> >& keyframes() const { return m_keyframes; }
- void parserAppendKeyframe(PassRefPtr<StyleKeyframe>);
- void wrapperAppendKeyframe(PassRefPtr<StyleKeyframe>);
+ void parserAppendKeyframe(PassRefPtrWillBeRawPtr<StyleKeyframe>);
+ void wrapperAppendKeyframe(PassRefPtrWillBeRawPtr<StyleKeyframe>);
void wrapperRemoveKeyframe(unsigned);
String name() const { return m_name; }
@@ -59,13 +59,13 @@ public:
PassRefPtrWillBeRawPtr<StyleRuleKeyframes> copy() const { return adoptRefWillBeNoop(new StyleRuleKeyframes(*this)); }
- void traceAfterDispatch(Visitor* visitor) { StyleRuleBase::traceAfterDispatch(visitor); }
+ void traceAfterDispatch(Visitor*);
private:
StyleRuleKeyframes();
explicit StyleRuleKeyframes(const StyleRuleKeyframes&);
- Vector<RefPtr<StyleKeyframe> > m_keyframes;
+ WillBeHeapVector<RefPtrWillBeMember<StyleKeyframe> > m_keyframes;
AtomicString m_name;
bool m_isPrefixed;
};

Powered by Google App Engine
This is Rietveld 408576698