Index: Source/core/css/CSSKeyframeRule.h |
diff --git a/Source/core/css/CSSKeyframeRule.h b/Source/core/css/CSSKeyframeRule.h |
index 31d78d3a845109af695226311a066b3255a71a97..34aff4e37149d91f6d4df01586926cf85b7515da 100644 |
--- a/Source/core/css/CSSKeyframeRule.h |
+++ b/Source/core/css/CSSKeyframeRule.h |
@@ -37,12 +37,12 @@ class MutableStylePropertySet; |
class StylePropertySet; |
class StyleRuleCSSStyleDeclaration; |
-class StyleKeyframe FINAL : public RefCounted<StyleKeyframe> { |
- WTF_MAKE_FAST_ALLOCATED; |
+class StyleKeyframe FINAL : public RefCountedWillBeGarbageCollectedFinalized<StyleKeyframe> { |
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
public: |
- static PassRefPtr<StyleKeyframe> create() |
+ static PassRefPtrWillBeRawPtr<StyleKeyframe> create() |
{ |
- return adoptRef(new StyleKeyframe()); |
+ return adoptRefWillBeNoop(new StyleKeyframe()); |
} |
~StyleKeyframe(); |
@@ -61,6 +61,8 @@ public: |
String cssText() const; |
+ void trace(Visitor*) { } |
+ |
static PassOwnPtr<Vector<double> > createKeyList(CSSParserValueList*); |
private: |
@@ -85,12 +87,12 @@ public: |
CSSStyleDeclaration* style() const; |
- virtual void trace(Visitor* visitor) OVERRIDE { CSSRule::trace(visitor); } |
+ virtual void trace(Visitor*) OVERRIDE; |
private: |
CSSKeyframeRule(StyleKeyframe*, CSSKeyframesRule* parent); |
- RefPtr<StyleKeyframe> m_keyframe; |
+ RefPtrWillBeMember<StyleKeyframe> m_keyframe; |
mutable RefPtr<StyleRuleCSSStyleDeclaration> m_propertiesCSSOMWrapper; |
friend class CSSKeyframesRule; |