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

Unified Diff: Source/core/animation/DoubleStyleInterpolation.h

Issue 1164573002: CSSValue Immediates: Change CSSValue to an object instead of a pointer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 5 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/DoubleStyleInterpolation.h
diff --git a/Source/core/animation/DoubleStyleInterpolation.h b/Source/core/animation/DoubleStyleInterpolation.h
index 688513c68115f03a42f8a479d8bb6eb28446ae87..05b81ed6e37aa1c712963198963000550b640dea 100644
--- a/Source/core/animation/DoubleStyleInterpolation.h
+++ b/Source/core/animation/DoubleStyleInterpolation.h
@@ -29,7 +29,7 @@ public:
DECLARE_VIRTUAL_TRACE();
static PassOwnPtrWillBeRawPtr<InterpolableValue> toInterpolableValue(const CSSValue&, CSSPropertyID = CSSPropertyInvalid);
- static PassRefPtrWillBeRawPtr<CSSValue> fromInterpolableValue(const InterpolableValue&, InterpolationRange);
+ static CSSValue fromInterpolableValue(const InterpolableValue&, InterpolationRange);
private:
DoubleStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id, bool isNumber, InterpolationRange clamp, bool flag)
@@ -42,8 +42,8 @@ private:
static PassOwnPtrWillBeRawPtr<InterpolableValue> doubleToInterpolableValue(const CSSValue&);
static PassOwnPtrWillBeRawPtr<InterpolableValue> motionRotationToInterpolableValue(const CSSValue&);
- static PassRefPtrWillBeRawPtr<CSSValue> interpolableValueToDouble(const InterpolableValue*, bool, InterpolationRange);
- static PassRefPtrWillBeRawPtr<CSSValue> interpolableValueToMotionRotation(InterpolableValue*, bool);
+ static CSSValue interpolableValueToDouble(const InterpolableValue*, bool, InterpolationRange);
+ static CSSValue interpolableValueToMotionRotation(InterpolableValue*, bool);
bool m_isNumber;
InterpolationRange m_clamp;
« no previous file with comments | « Source/core/animation/DeferredLegacyStyleInterpolationTest.cpp ('k') | Source/core/animation/DoubleStyleInterpolation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698