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

Unified Diff: third_party/WebKit/Source/platform/animation/CompositorFloatAnimationCurveTest.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/platform/animation/CompositorFloatAnimationCurveTest.cpp
diff --git a/third_party/WebKit/Source/platform/animation/CompositorFloatAnimationCurveTest.cpp b/third_party/WebKit/Source/platform/animation/CompositorFloatAnimationCurveTest.cpp
index b96961c8bb4621363968bd2cfe67561f7fd77567..0c85c57b907917585d971ecac2d1494002ee5f6d 100644
--- a/third_party/WebKit/Source/platform/animation/CompositorFloatAnimationCurveTest.cpp
+++ b/third_party/WebKit/Source/platform/animation/CompositorFloatAnimationCurveTest.cpp
@@ -131,9 +131,10 @@ TEST(WebFloatAnimationCurveTest, CubicBezierTimingFunction) {
TEST(WebFloatAnimationCurveTest, EaseTimingFunction) {
std::unique_ptr<CompositorFloatAnimationCurve> curve =
CompositorFloatAnimationCurve::create();
- curve->addKeyframe(CompositorFloatKeyframe(
- 0, 0, *CubicBezierTimingFunction::preset(
- CubicBezierTimingFunction::EaseType::EASE)));
+ curve->addKeyframe(
+ CompositorFloatKeyframe(0, 0,
+ *CubicBezierTimingFunction::preset(
+ CubicBezierTimingFunction::EaseType::EASE)));
curve->addKeyframe(
CompositorFloatKeyframe(1, 1, *LinearTimingFunction::shared()));
@@ -166,8 +167,9 @@ TEST(WebFloatAnimationCurveTest, EaseInTimingFunction) {
std::unique_ptr<CompositorFloatAnimationCurve> curve =
CompositorFloatAnimationCurve::create();
curve->addKeyframe(CompositorFloatKeyframe(
- 0, 0, *CubicBezierTimingFunction::preset(
- CubicBezierTimingFunction::EaseType::EASE_IN)));
+ 0, 0,
+ *CubicBezierTimingFunction::preset(
+ CubicBezierTimingFunction::EaseType::EASE_IN)));
curve->addKeyframe(
CompositorFloatKeyframe(1, 1, *LinearTimingFunction::shared()));
@@ -185,8 +187,9 @@ TEST(WebFloatAnimationCurveTest, EaseOutTimingFunction) {
std::unique_ptr<CompositorFloatAnimationCurve> curve =
CompositorFloatAnimationCurve::create();
curve->addKeyframe(CompositorFloatKeyframe(
- 0, 0, *CubicBezierTimingFunction::preset(
- CubicBezierTimingFunction::EaseType::EASE_OUT)));
+ 0, 0,
+ *CubicBezierTimingFunction::preset(
+ CubicBezierTimingFunction::EaseType::EASE_OUT)));
curve->addKeyframe(
CompositorFloatKeyframe(1, 1, *LinearTimingFunction::shared()));
@@ -204,8 +207,9 @@ TEST(WebFloatAnimationCurveTest, EaseInOutTimingFunction) {
std::unique_ptr<CompositorFloatAnimationCurve> curve =
CompositorFloatAnimationCurve::create();
curve->addKeyframe(CompositorFloatKeyframe(
- 0, 0, *CubicBezierTimingFunction::preset(
- CubicBezierTimingFunction::EaseType::EASE_IN_OUT)));
+ 0, 0,
+ *CubicBezierTimingFunction::preset(
+ CubicBezierTimingFunction::EaseType::EASE_IN_OUT)));
curve->addKeyframe(
CompositorFloatKeyframe(1, 1, *LinearTimingFunction::shared()));
@@ -244,9 +248,10 @@ TEST(WebFloatAnimationCurveTest, CustomBezierTimingFunction) {
TEST(WebFloatAnimationCurveTest, DefaultTimingFunction) {
std::unique_ptr<CompositorFloatAnimationCurve> curve =
CompositorFloatAnimationCurve::create();
- curve->addKeyframe(CompositorFloatKeyframe(
- 0, 0, *CubicBezierTimingFunction::preset(
- CubicBezierTimingFunction::EaseType::EASE)));
+ curve->addKeyframe(
+ CompositorFloatKeyframe(0, 0,
+ *CubicBezierTimingFunction::preset(
+ CubicBezierTimingFunction::EaseType::EASE)));
curve->addKeyframe(
CompositorFloatKeyframe(1, 1, *LinearTimingFunction::shared()));

Powered by Google App Engine
This is Rietveld 408576698