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

Side by Side Diff: third_party/WebKit/Source/core/animation/PathInterpolationFunctions.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/PathInterpolationFunctions.h" 5 #include "core/animation/PathInterpolationFunctions.h"
6 6
7 #include <memory>
7 #include "core/animation/InterpolatedSVGPathSource.h" 8 #include "core/animation/InterpolatedSVGPathSource.h"
8 #include "core/animation/InterpolationEnvironment.h" 9 #include "core/animation/InterpolationEnvironment.h"
9 #include "core/animation/SVGPathSegInterpolationFunctions.h" 10 #include "core/animation/SVGPathSegInterpolationFunctions.h"
10 #include "core/css/CSSPathValue.h" 11 #include "core/css/CSSPathValue.h"
11 #include "core/svg/SVGPath.h" 12 #include "core/svg/SVGPath.h"
12 #include "core/svg/SVGPathByteStreamBuilder.h" 13 #include "core/svg/SVGPathByteStreamBuilder.h"
13 #include "core/svg/SVGPathByteStreamSource.h" 14 #include "core/svg/SVGPathByteStreamSource.h"
14 #include "core/svg/SVGPathParser.h" 15 #include "core/svg/SVGPathParser.h"
15 #include "wtf/PtrUtil.h" 16 #include "wtf/PtrUtil.h"
16 #include <memory>
17 17
18 namespace blink { 18 namespace blink {
19 19
20 class SVGPathNonInterpolableValue : public NonInterpolableValue { 20 class SVGPathNonInterpolableValue : public NonInterpolableValue {
21 public: 21 public:
22 virtual ~SVGPathNonInterpolableValue() {} 22 virtual ~SVGPathNonInterpolableValue() {}
23 23
24 static PassRefPtr<SVGPathNonInterpolableValue> create( 24 static PassRefPtr<SVGPathNonInterpolableValue> create(
25 Vector<SVGPathSegType>& pathSegTypes) { 25 Vector<SVGPathSegType>& pathSegTypes) {
26 return adoptRef(new SVGPathNonInterpolableValue(pathSegTypes)); 26 return adoptRef(new SVGPathNonInterpolableValue(pathSegTypes));
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 InterpolatedSVGPathSource source( 192 InterpolatedSVGPathSource source(
193 toInterpolableList( 193 toInterpolableList(
194 *toInterpolableList(interpolableValue).get(PathArgsIndex)), 194 *toInterpolableList(interpolableValue).get(PathArgsIndex)),
195 toSVGPathNonInterpolableValue(nonInterpolableValue)->pathSegTypes()); 195 toSVGPathNonInterpolableValue(nonInterpolableValue)->pathSegTypes());
196 SVGPathByteStreamBuilder builder(*pathByteStream); 196 SVGPathByteStreamBuilder builder(*pathByteStream);
197 SVGPathParser::parsePath(source, builder); 197 SVGPathParser::parsePath(source, builder);
198 return pathByteStream; 198 return pathByteStream;
199 } 199 }
200 200
201 } // namespace blink 201 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698