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

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatablePath.cpp

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/animatable/AnimatablePath.cpp
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatablePath.cpp b/third_party/WebKit/Source/core/animation/animatable/AnimatablePath.cpp
index 872acf388a0715e6c684b4b81bf9f35565ff8408..deb2889bb8db976e596dd4cfcf48b7f1bf4fc45f 100644
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatablePath.cpp
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatablePath.cpp
@@ -8,7 +8,6 @@
#include "core/svg/SVGPathBlender.h"
#include "core/svg/SVGPathByteStreamBuilder.h"
#include "core/svg/SVGPathByteStreamSource.h"
-#include <memory>
namespace blink {
@@ -44,7 +43,7 @@ PassRefPtr<AnimatableValue> AnimatablePath::interpolateTo(const AnimatableValue*
if (usesDefaultInterpolationWith(value))
return defaultInterpolateTo(this, value, fraction);
- std::unique_ptr<SVGPathByteStream> byteStream = SVGPathByteStream::create();
+ OwnPtr<SVGPathByteStream> byteStream = SVGPathByteStream::create();
SVGPathByteStreamBuilder builder(*byteStream);
SVGPathByteStreamSource fromSource(path()->byteStream());

Powered by Google App Engine
This is Rietveld 408576698