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

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

Issue 2700123003: DO NOT COMMIT: Results of running old (current) 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/CSSPathInterpolationType.h" 5 #include "core/animation/CSSPathInterpolationType.h"
6 6
7 #include <memory>
7 #include "core/animation/PathInterpolationFunctions.h" 8 #include "core/animation/PathInterpolationFunctions.h"
8 #include "core/css/CSSIdentifierValue.h" 9 #include "core/css/CSSIdentifierValue.h"
9 #include "core/css/CSSPathValue.h" 10 #include "core/css/CSSPathValue.h"
10 #include "core/css/resolver/StyleResolverState.h" 11 #include "core/css/resolver/StyleResolverState.h"
11 #include "wtf/PtrUtil.h" 12 #include "wtf/PtrUtil.h"
12 #include <memory>
13 13
14 namespace blink { 14 namespace blink {
15 15
16 void CSSPathInterpolationType::applyStandardPropertyValue( 16 void CSSPathInterpolationType::applyStandardPropertyValue(
17 const InterpolableValue& interpolableValue, 17 const InterpolableValue& interpolableValue,
18 const NonInterpolableValue* nonInterpolableValue, 18 const NonInterpolableValue* nonInterpolableValue,
19 StyleResolverState& state) const { 19 StyleResolverState& state) const {
20 DCHECK_EQ(cssProperty(), CSSPropertyD); 20 DCHECK_EQ(cssProperty(), CSSPropertyD);
21 std::unique_ptr<SVGPathByteStream> pathByteStream = 21 std::unique_ptr<SVGPathByteStream> pathByteStream =
22 PathInterpolationFunctions::appliedValue(interpolableValue, 22 PathInterpolationFunctions::appliedValue(interpolableValue,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 } 103 }
104 104
105 PairwiseInterpolationValue CSSPathInterpolationType::maybeMergeSingles( 105 PairwiseInterpolationValue CSSPathInterpolationType::maybeMergeSingles(
106 InterpolationValue&& start, 106 InterpolationValue&& start,
107 InterpolationValue&& end) const { 107 InterpolationValue&& end) const {
108 return PathInterpolationFunctions::maybeMergeSingles(std::move(start), 108 return PathInterpolationFunctions::maybeMergeSingles(std::move(start),
109 std::move(end)); 109 std::move(end));
110 } 110 }
111 111
112 } // namespace blink 112 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698