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

Unified Diff: third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.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/CSSTranslateInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp
index 676746e868b5104587f1512178bc89f8341a5fee..f891a4f888452bd166e00f213e6ac241abc6b0e2 100644
--- a/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.cpp
@@ -79,15 +79,18 @@ InterpolationValue convertTranslateOperation(
std::unique_ptr<InterpolableList> result =
InterpolableList::create(TranslateComponentIndexCount);
- result->set(TranslateX, LengthInterpolationFunctions::maybeConvertLength(
- translate->x(), zoom)
- .interpolableValue);
- result->set(TranslateY, LengthInterpolationFunctions::maybeConvertLength(
- translate->y(), zoom)
- .interpolableValue);
- result->set(TranslateZ, LengthInterpolationFunctions::maybeConvertLength(
- Length(translate->z(), Fixed), zoom)
- .interpolableValue);
+ result->set(
+ TranslateX,
+ LengthInterpolationFunctions::maybeConvertLength(translate->x(), zoom)
+ .interpolableValue);
+ result->set(
+ TranslateY,
+ LengthInterpolationFunctions::maybeConvertLength(translate->y(), zoom)
+ .interpolableValue);
+ result->set(TranslateZ,
+ LengthInterpolationFunctions::maybeConvertLength(
+ Length(translate->z(), Fixed), zoom)
+ .interpolableValue);
return InterpolationValue(std::move(result));
}

Powered by Google App Engine
This is Rietveld 408576698