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/AnimatableDoubleAndBool.h

Issue 1276183004: Oilpan: Unship oilpan from temporary animation objects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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/AnimatableDoubleAndBool.h
diff --git a/Source/core/animation/animatable/AnimatableDoubleAndBool.h b/Source/core/animation/animatable/AnimatableDoubleAndBool.h
index 0dcd73e4913d3dbf18252a91da36c3afd0bf5861..2a330624a9040a3193011d679e0690281ad60eef 100644
--- a/Source/core/animation/animatable/AnimatableDoubleAndBool.h
+++ b/Source/core/animation/animatable/AnimatableDoubleAndBool.h
@@ -13,18 +13,16 @@ namespace blink {
class CORE_EXPORT AnimatableDoubleAndBool final : public AnimatableValue {
public:
~AnimatableDoubleAndBool() override { }
- static PassRefPtrWillBeRawPtr<AnimatableDoubleAndBool> create(double number, bool flag)
+ static PassRefPtr<AnimatableDoubleAndBool> create(double number, bool flag)
{
- return adoptRefWillBeNoop(new AnimatableDoubleAndBool(number, flag));
+ return adoptRef(new AnimatableDoubleAndBool(number, flag));
}
double toDouble() const { return m_number; }
bool flag() const { return m_flag; }
- 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;
bool usesDefaultInterpolationWith(const AnimatableValue*) const override;
private:

Powered by Google App Engine
This is Rietveld 408576698