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

Unified Diff: third_party/WebKit/Source/core/animation/SVGPathSegInterpolationFunctions.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/animation/SVGPathSegInterpolationFunctions.h
diff --git a/third_party/WebKit/Source/core/animation/SVGPathSegInterpolationFunctions.h b/third_party/WebKit/Source/core/animation/SVGPathSegInterpolationFunctions.h
index bc6f0de263a1adbffdec6b9031d99f2ccd0cccd2..776ccbe69bd5f727e235b520f6bc49598edf43b3 100644
--- a/third_party/WebKit/Source/core/animation/SVGPathSegInterpolationFunctions.h
+++ b/third_party/WebKit/Source/core/animation/SVGPathSegInterpolationFunctions.h
@@ -7,6 +7,7 @@
#include "core/animation/InterpolableValue.h"
#include "core/svg/SVGPathData.h"
+#include <memory>
namespace blink {
@@ -20,7 +21,7 @@ struct PathCoordinates {
class SVGPathSegInterpolationFunctions {
STATIC_ONLY(SVGPathSegInterpolationFunctions);
public:
- static PassOwnPtr<InterpolableValue> consumePathSeg(const PathSegmentData&, PathCoordinates& currentCoordinates);
+ static std::unique_ptr<InterpolableValue> consumePathSeg(const PathSegmentData&, PathCoordinates& currentCoordinates);
static PathSegmentData consumeInterpolablePathSeg(const InterpolableValue&, SVGPathSegType, PathCoordinates& currentCoordinates);
};

Powered by Google App Engine
This is Rietveld 408576698