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

Side by Side Diff: third_party/WebKit/Source/core/animation/SVGPointListInterpolationType.cpp

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/animation/SVGPointListInterpolationType.h" 5 #include "core/animation/SVGPointListInterpolationType.h"
6 6
7 #include <memory>
7 #include "core/animation/InterpolationEnvironment.h" 8 #include "core/animation/InterpolationEnvironment.h"
8 #include "core/animation/StringKeyframe.h" 9 #include "core/animation/StringKeyframe.h"
9 #include "core/animation/UnderlyingLengthChecker.h" 10 #include "core/animation/UnderlyingLengthChecker.h"
10 #include "core/svg/SVGPointList.h" 11 #include "core/svg/SVGPointList.h"
11 #include <memory>
12 12
13 namespace blink { 13 namespace blink {
14 14
15 InterpolationValue SVGPointListInterpolationType::MaybeConvertNeutral( 15 InterpolationValue SVGPointListInterpolationType::MaybeConvertNeutral(
16 const InterpolationValue& underlying, 16 const InterpolationValue& underlying,
17 ConversionCheckers& conversion_checkers) const { 17 ConversionCheckers& conversion_checkers) const {
18 size_t underlying_length = 18 size_t underlying_length =
19 UnderlyingLengthChecker::GetUnderlyingLength(underlying); 19 UnderlyingLengthChecker::GetUnderlyingLength(underlying);
20 conversion_checkers.push_back( 20 conversion_checkers.push_back(
21 UnderlyingLengthChecker::Create(underlying_length)); 21 UnderlyingLengthChecker::Create(underlying_length));
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 FloatPoint point = 85 FloatPoint point =
86 FloatPoint(ToInterpolableNumber(list.Get(i))->Value(), 86 FloatPoint(ToInterpolableNumber(list.Get(i))->Value(),
87 ToInterpolableNumber(list.Get(i + 1))->Value()); 87 ToInterpolableNumber(list.Get(i + 1))->Value());
88 result->Append(SVGPoint::Create(point)); 88 result->Append(SVGPoint::Create(point));
89 } 89 }
90 90
91 return result; 91 return result;
92 } 92 }
93 93
94 } // namespace blink 94 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698