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

Unified Diff: Source/core/animation/ShadowStyleInterpolation.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/ShadowStyleInterpolation.h
diff --git a/Source/core/animation/ShadowStyleInterpolation.h b/Source/core/animation/ShadowStyleInterpolation.h
index 606fd87e3c92cf713cb7ed22007b2ee4f3e00e88..fef279f4fecf5789e566b7968711112862ecffd3 100644
--- a/Source/core/animation/ShadowStyleInterpolation.h
+++ b/Source/core/animation/ShadowStyleInterpolation.h
@@ -22,7 +22,7 @@ public:
static bool usesDefaultStyleInterpolation(const CSSValue& start, const CSSValue& end);
static PassOwnPtrWillBeRawPtr<InterpolableValue> toInterpolableValue(const CSSValue&, NonInterpolableType&);
- static PassRefPtrWillBeRawPtr<CSSValue> fromInterpolableValue(const InterpolableValue&, NonInterpolableType, InterpolationRange = RangeAll);
+ static CSSValue fromInterpolableValue(const InterpolableValue&, NonInterpolableType, InterpolationRange = RangeAll);
private:
ShadowStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id)
@@ -34,7 +34,7 @@ private:
{
return toInterpolableValue(value, type);
}
- static PassRefPtrWillBeRawPtr<CSSValue> interpolableValueToShadow(const InterpolableValue& value, NonInterpolableType type, InterpolationRange range = RangeAll)
+ static CSSValue interpolableValueToShadow(const InterpolableValue& value, NonInterpolableType type, InterpolationRange range = RangeAll)
{
return fromInterpolableValue(value, type, range);
}
« no previous file with comments | « Source/core/animation/SVGStrokeDasharrayStyleInterpolationTest.cpp ('k') | Source/core/animation/ShadowStyleInterpolation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698