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

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

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 c1d8431d7cda74c3c5b194247805083832764ff5..6dfcf411c46e6d2614d0f5d2302b21b808d135a4 100644
--- a/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.h
+++ b/third_party/WebKit/Source/core/animation/BasicShapeInterpolationFunctions.h
@@ -6,7 +6,6 @@
#define BasicShapeInterpolationFunctions_h
#include "core/animation/InterpolationValue.h"
-#include <memory>
namespace blink {
@@ -18,7 +17,7 @@ namespace BasicShapeInterpolationFunctions {
InterpolationValue maybeConvertCSSValue(const CSSValue&);
InterpolationValue maybeConvertBasicShape(const BasicShape*, double zoom);
-std::unique_ptr<InterpolableValue> createNeutralValue(const NonInterpolableValue&);
+PassOwnPtr<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