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

Unified Diff: third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.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/SVGLengthInterpolationType.h
diff --git a/third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.h b/third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.h
index 783d150214e5ac0884c37f1e62c0c718143e649d..2890bcad0805f3210e57c60b6b0fba0ac7cca999 100644
--- a/third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.h
+++ b/third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.h
@@ -7,7 +7,6 @@
#include "core/animation/SVGInterpolationType.h"
#include "core/svg/SVGLength.h"
-#include <memory>
namespace blink {
@@ -22,7 +21,7 @@ public:
, m_negativeValuesForbidden(SVGLength::negativeValuesForbiddenForAnimatedLengthAttribute(attribute))
{ }
- static std::unique_ptr<InterpolableValue> neutralInterpolableValue();
+ static PassOwnPtr<InterpolableValue> neutralInterpolableValue();
static InterpolationValue convertSVGLength(const SVGLength&);
static SVGLength* resolveInterpolableSVGLength(const InterpolableValue&, const SVGLengthContext&, SVGLengthMode, bool negativeValuesForbidden);

Powered by Google App Engine
This is Rietveld 408576698