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

Unified Diff: third_party/WebKit/Source/platform/animation/CompositorTransformOperations.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/platform/animation/CompositorTransformOperations.h
diff --git a/third_party/WebKit/Source/platform/animation/CompositorTransformOperations.h b/third_party/WebKit/Source/platform/animation/CompositorTransformOperations.h
index 6bf525411266e68191cd8f10a5042356353634bc..418a3a95de96318c33504fd9c24aa950c90846a4 100644
--- a/third_party/WebKit/Source/platform/animation/CompositorTransformOperations.h
+++ b/third_party/WebKit/Source/platform/animation/CompositorTransformOperations.h
@@ -8,8 +8,7 @@
#include "cc/animation/transform_operations.h"
#include "platform/PlatformExport.h"
#include "wtf/Noncopyable.h"
-#include "wtf/PtrUtil.h"
-#include <memory>
+#include "wtf/PassOwnPtr.h"
class SkMatrix44;
@@ -18,9 +17,9 @@ namespace blink {
class PLATFORM_EXPORT CompositorTransformOperations {
WTF_MAKE_NONCOPYABLE(CompositorTransformOperations);
public:
- static std::unique_ptr<CompositorTransformOperations> create()
+ static PassOwnPtr<CompositorTransformOperations> create()
{
- return wrapUnique(new CompositorTransformOperations());
+ return adoptPtr(new CompositorTransformOperations());
}
const cc::TransformOperations& asTransformOperations() const;

Powered by Google App Engine
This is Rietveld 408576698