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

Unified Diff: third_party/WebKit/Source/web/CompositorMutatorImpl.cpp

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from Kent; merge. 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/web/CompositorMutatorImpl.cpp
diff --git a/third_party/WebKit/Source/web/CompositorMutatorImpl.cpp b/third_party/WebKit/Source/web/CompositorMutatorImpl.cpp
index e3c52ac299d794b93f11c6551117d36cf6f7d111..1b23688884733697313893f226e58ff642977cb8 100644
--- a/third_party/WebKit/Source/web/CompositorMutatorImpl.cpp
+++ b/third_party/WebKit/Source/web/CompositorMutatorImpl.cpp
@@ -14,6 +14,7 @@
#include "platform/heap/Handle.h"
#include "public/platform/Platform.h"
#include "web/CompositorProxyClientImpl.h"
+#include "wtf/PtrUtil.h"
namespace blink {
@@ -30,7 +31,7 @@ void createCompositorMutatorClient(std::unique_ptr<CompositorMutatorClient>* ptr
} // namespace
CompositorMutatorImpl::CompositorMutatorImpl()
- : m_animationManager(adoptPtr(new CustomCompositorAnimationManager))
+ : m_animationManager(wrapUnique(new CustomCompositorAnimationManager))
, m_client(nullptr)
{
}

Powered by Google App Engine
This is Rietveld 408576698