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

Unified Diff: third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.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/CSSNumberInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.cpp
index b2df15d02eecdb5dbdce7f303437b47f5ed02385..1d759e043e328dafcb8da97f9d7bb251fdda5891 100644
--- a/third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.cpp
@@ -7,16 +7,14 @@
#include "core/animation/NumberPropertyFunctions.h"
#include "core/css/resolver/StyleBuilder.h"
#include "core/css/resolver/StyleResolverState.h"
-#include "wtf/PtrUtil.h"
-#include <memory>
namespace blink {
class ParentNumberChecker : public InterpolationType::ConversionChecker {
public:
- static std::unique_ptr<ParentNumberChecker> create(CSSPropertyID property, double number)
+ static PassOwnPtr<ParentNumberChecker> create(CSSPropertyID property, double number)
{
- return wrapUnique(new ParentNumberChecker(property, number));
+ return adoptPtr(new ParentNumberChecker(property, number));
}
private:

Powered by Google App Engine
This is Rietveld 408576698