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

Unified Diff: Source/core/animation/animatable/AnimatableUnknown.h

Issue 1303173007: Oilpan: Unship Oilpan from CSSValues Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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/animation/animatable/AnimatableUnknown.h
diff --git a/Source/core/animation/animatable/AnimatableUnknown.h b/Source/core/animation/animatable/AnimatableUnknown.h
index 8105550ecd0849e6445623c289ab67246c4803b4..fa758a0b237fb207fd7f4f424b483f7d676b178f 100644
--- a/Source/core/animation/animatable/AnimatableUnknown.h
+++ b/Source/core/animation/animatable/AnimatableUnknown.h
@@ -41,7 +41,7 @@ class AnimatableUnknown final : public AnimatableValue {
public:
~AnimatableUnknown() override { }
- static PassRefPtrWillBeRawPtr<AnimatableUnknown> create(PassRefPtrWillBeRawPtr<CSSValue> value)
+ static PassRefPtrWillBeRawPtr<AnimatableUnknown> create(PassRefPtr<CSSValue> value)
{
return adoptRefWillBeNoop(new AnimatableUnknown(value));
}
@@ -50,12 +50,11 @@ public:
return adoptRefWillBeNoop(new AnimatableUnknown(cssValuePool().createIdentifierValue(value)));
}
- PassRefPtrWillBeRawPtr<CSSValue> toCSSValue() const { return m_value; }
+ PassRefPtr<CSSValue> toCSSValue() const { return m_value; }
CSSValueID toCSSValueID() const { return toCSSPrimitiveValue(m_value.get())->getValueID(); }
DEFINE_INLINE_VIRTUAL_TRACE()
{
- visitor->trace(m_value);
AnimatableValue::trace(visitor);
}
@@ -68,7 +67,7 @@ protected:
bool usesDefaultInterpolationWith(const AnimatableValue*) const override { return true; }
private:
- explicit AnimatableUnknown(PassRefPtrWillBeRawPtr<CSSValue> value)
+ explicit AnimatableUnknown(PassRefPtr<CSSValue> value)
: m_value(value)
{
ASSERT(m_value);
@@ -76,7 +75,7 @@ private:
AnimatableType type() const override { return TypeUnknown; }
bool equalTo(const AnimatableValue*) const override;
- const RefPtrWillBeMember<CSSValue> m_value;
+ const RefPtr<CSSValue> m_value;
};
DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableUnknown, isUnknown());
« no previous file with comments | « Source/core/animation/animatable/AnimatableImage.cpp ('k') | Source/core/animation/css/CSSAnimatableValueFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698