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

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

Issue 212703003: [Oilpan]: Move StyleKeyFrame to the oilpan heap using transition types. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Review feedack 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
« no previous file with comments | « Source/core/css/CSSGrammar.y ('k') | Source/core/css/CSSKeyframeRule.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/css/CSSGrammar.y ('k') | Source/core/css/CSSKeyframeRule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698