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

Unified Diff: third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.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/BasicShapeInterpolationFunctions.h
diff --git a/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.h b/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.h
index 6dfcf411c46e6d2614d0f5d2302b21b808d135a4..c1d8431d7cda74c3c5b194247805083832764ff5 100644
--- a/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.h
+++ b/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.h
@@ -6,6 +6,7 @@
#define BasicShapeInterpolationFunctions_h
#include "core/animation/InterpolationValue.h"
+#include <memory>
namespace blink {
@@ -17,7 +18,7 @@ namespace BasicShapeInterpolationFunctions {
InterpolationValue maybeConvertCSSValue(const CSSValue&);
InterpolationValue maybeConvertBasicShape(const BasicShape*, double zoom);
-PassOwnPtr<InterpolableValue> createNeutralValue(const NonInterpolableValue&);
+std::unique_ptr<InterpolableValue> createNeutralValue(const NonInterpolableValue&);
bool shapesAreCompatible(const NonInterpolableValue&, const NonInterpolableValue&);
PassRefPtr<BasicShape> createBasicShape(const InterpolableValue&, const NonInterpolableValue&, const CSSToLengthConversionData&);

Powered by Google App Engine
This is Rietveld 408576698