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

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

Issue 1305383006: Oilpan: Unship CSSValues and AnimatableValues 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/AnimatableDouble.h
diff --git a/Source/core/animation/animatable/AnimatableDouble.h b/Source/core/animation/animatable/AnimatableDouble.h
index 618d0f0da986387ae3d18bc873e7df3bb3fa0d86..8dcd58e555faddae123f7d435b225c43064953a1 100644
--- a/Source/core/animation/animatable/AnimatableDouble.h
+++ b/Source/core/animation/animatable/AnimatableDouble.h
@@ -40,17 +40,15 @@ class CORE_EXPORT AnimatableDouble final : public AnimatableValue {
public:
~AnimatableDouble() override { }
- static PassRefPtrWillBeRawPtr<AnimatableDouble> create(double number)
+ static PassRefPtr<AnimatableDouble> create(double number)
{
- return adoptRefWillBeNoop(new AnimatableDouble(number));
+ return adoptRef(new AnimatableDouble(number));
}
double toDouble() const { return m_number; }
- DEFINE_INLINE_VIRTUAL_TRACE() { AnimatableValue::trace(visitor); }
-
protected:
- PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
+ PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
private:
AnimatableDouble(double number)
« no previous file with comments | « Source/core/animation/animatable/AnimatableColor.cpp ('k') | Source/core/animation/animatable/AnimatableDouble.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698