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

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

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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/ListInterpolationFunctions.cpp
diff --git a/third_party/WebKit/Source/core/animation/ListInterpolationFunctions.cpp b/third_party/WebKit/Source/core/animation/ListInterpolationFunctions.cpp
index f2b59c3dbf8a8665c8aa5b74eb1e44487ebef193..c1f90ddd62ce49c3edc606149615946215775afc 100644
--- a/third_party/WebKit/Source/core/animation/ListInterpolationFunctions.cpp
+++ b/third_party/WebKit/Source/core/animation/ListInterpolationFunctions.cpp
@@ -130,9 +130,9 @@ static void repeatToLength(InterpolationValue& value, size_t length) {
Vector<RefPtr<NonInterpolableValue>> newNonInterpolableValues(length);
for (size_t i = length; i-- > 0;) {
newInterpolableList->set(
- i, i < currentLength
- ? std::move(interpolableList.getMutable(i))
- : interpolableList.get(i % currentLength)->clone());
+ i,
+ i < currentLength ? std::move(interpolableList.getMutable(i))
+ : interpolableList.get(i % currentLength)->clone());
newNonInterpolableValues[i] = nonInterpolableList.get(i % currentLength);
}
value.interpolableValue = std::move(newInterpolableList);

Powered by Google App Engine
This is Rietveld 408576698