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

Unified Diff: third_party/WebKit/Source/core/animation/ListSVGInterpolation.h

Issue 1491023003: Refactor SVGAnimatedLength negative values mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace SVGLengthNegativeValuesMode enum with bool Created 5 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
Index: third_party/WebKit/Source/core/animation/ListSVGInterpolation.h
diff --git a/third_party/WebKit/Source/core/animation/ListSVGInterpolation.h b/third_party/WebKit/Source/core/animation/ListSVGInterpolation.h
index 40b4c9083d2a1f42d7639ccff84af23961a0d528..89c3120ccea59d3c30ba0596597a0666c95f4e2f 100644
--- a/third_party/WebKit/Source/core/animation/ListSVGInterpolation.h
+++ b/third_party/WebKit/Source/core/animation/ListSVGInterpolation.h
@@ -57,7 +57,7 @@ private:
const InterpolableList& listValue = toInterpolableList(value);
RefPtrWillBeRawPtr<ListType> result = InterpolationType::createList(*attribute);
for (size_t i = 0; i < listValue.length(); i++)
- result->append(InterpolationType::fromInterpolableValue(*listValue.get(i), m_nonInterpolableData.at(i), element));
+ result->append(InterpolationType::fromInterpolableValue(*listValue.get(i), m_nonInterpolableData.at(i), element, attribute->attributeName()));
return result.release();
}

Powered by Google App Engine
This is Rietveld 408576698