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

Unified Diff: third_party/WebKit/Source/core/dom/CompositorProxiedPropertySet.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/dom/CompositorProxiedPropertySet.cpp
diff --git a/third_party/WebKit/Source/core/dom/CompositorProxiedPropertySet.cpp b/third_party/WebKit/Source/core/dom/CompositorProxiedPropertySet.cpp
index cd02b7350a9d93eb1fb2aacf9093141fe97f0d69..3a0a614fbeeaa00812f474a4a863d5d189b22108 100644
--- a/third_party/WebKit/Source/core/dom/CompositorProxiedPropertySet.cpp
+++ b/third_party/WebKit/Source/core/dom/CompositorProxiedPropertySet.cpp
@@ -4,14 +4,13 @@
#include "core/dom/CompositorProxiedPropertySet.h"
-#include "wtf/PtrUtil.h"
-#include <memory>
+#include "wtf/PassOwnPtr.h"
namespace blink {
-std::unique_ptr<CompositorProxiedPropertySet> CompositorProxiedPropertySet::create()
+PassOwnPtr<CompositorProxiedPropertySet> CompositorProxiedPropertySet::create()
{
- return wrapUnique(new CompositorProxiedPropertySet);
+ return adoptPtr(new CompositorProxiedPropertySet);
}
CompositorProxiedPropertySet::CompositorProxiedPropertySet()
« no previous file with comments | « third_party/WebKit/Source/core/dom/CompositorProxiedPropertySet.h ('k') | third_party/WebKit/Source/core/dom/ContainerNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698