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

Unified Diff: third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.cpp

Issue 2549563002: Only communicate CSSPrimitiveValue references from SVGLength (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGAnimatedLength.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.cpp b/third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.cpp
index 0a55618dc156ac6d8593280a8ca7fa7e9080324f..ffe1fb1984357e169d099b4547eb20d4faff1ab6 100644
--- a/third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.cpp
@@ -26,10 +26,10 @@ SVGLengthInterpolationType::neutralInterpolableValue() {
InterpolationValue SVGLengthInterpolationType::convertSVGLength(
const SVGLength& length) {
- const CSSPrimitiveValue* primitiveValue = length.asCSSPrimitiveValue();
+ const CSSPrimitiveValue& primitiveValue = length.asCSSPrimitiveValue();
CSSLengthArray lengthArray;
- primitiveValue->accumulateLengthArray(lengthArray);
+ primitiveValue.accumulateLengthArray(lengthArray);
std::unique_ptr<InterpolableList> listOfValues =
InterpolableList::create(CSSPrimitiveValue::LengthUnitTypeCount);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGAnimatedLength.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698