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

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableRepeatable.cpp

Issue 2384263003: Reflow comments in core/animation and subdirs (Closed)
Patch Set: Created 4 years, 2 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: 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));

Powered by Google App Engine
This is Rietveld 408576698