| Index: third_party/WebKit/Source/core/animation/animatable/AnimatableRepeatable.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableRepeatable.cpp b/third_party/WebKit/Source/core/animation/animatable/AnimatableRepeatable.cpp
|
| index 94b37da207588dac444e5c81bdb9ed7650b5ca55..2235031dcbb72defec02f1180f4e80ddd85dd09c 100644
|
| --- a/third_party/WebKit/Source/core/animation/animatable/AnimatableRepeatable.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableRepeatable.cpp
|
| @@ -45,7 +45,8 @@ bool AnimatableRepeatable::usesDefaultInterpolationWith(
|
| for (size_t i = 0; i < size; ++i) {
|
| const AnimatableValue* from = fromValues[i % fromValues.size()].get();
|
| const AnimatableValue* to = toValues[i % toValues.size()].get();
|
| - // Spec: If a pair of values cannot be interpolated, then the lists are not interpolable.
|
| + // Spec: If a pair of values cannot be interpolated, then the lists are not
|
| + // interpolable.
|
| if (AnimatableValue::usesDefaultInterpolation(from, to))
|
| return true;
|
| }
|
| @@ -57,7 +58,8 @@ bool AnimatableRepeatable::interpolateLists(
|
| const Vector<RefPtr<AnimatableValue>>& toValues,
|
| double fraction,
|
| Vector<RefPtr<AnimatableValue>>& interpolatedValues) {
|
| - // Interpolation behaviour spec: http://www.w3.org/TR/css3-transitions/#animtype-repeatable-list
|
| + // Interpolation behaviour spec:
|
| + // http://www.w3.org/TR/css3-transitions/#animtype-repeatable-list
|
| DCHECK(interpolatedValues.isEmpty());
|
| DCHECK(!fromValues.isEmpty() && !toValues.isEmpty());
|
| size_t size = lowestCommonMultiple(fromValues.size(), toValues.size());
|
| @@ -65,7 +67,8 @@ bool AnimatableRepeatable::interpolateLists(
|
| for (size_t i = 0; i < size; ++i) {
|
| const AnimatableValue* from = fromValues[i % fromValues.size()].get();
|
| const AnimatableValue* to = toValues[i % toValues.size()].get();
|
| - // Spec: If a pair of values cannot be interpolated, then the lists are not interpolable.
|
| + // Spec: If a pair of values cannot be interpolated, then the lists are not
|
| + // interpolable.
|
| if (AnimatableValue::usesDefaultInterpolation(from, to))
|
| return false;
|
| interpolatedValues.append(interpolate(from, to, fraction));
|
|
|