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

Unified Diff: third_party/WebKit/Source/web/CompositorMutatorImpl.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/web/CompositorMutatorImpl.cpp
diff --git a/third_party/WebKit/Source/web/CompositorMutatorImpl.cpp b/third_party/WebKit/Source/web/CompositorMutatorImpl.cpp
index 79709e134294ab2c1c17c51d879023e2fd222fdb..211ea5443aeb1fd0034f5f7b32b5a57b41882360 100644
--- a/third_party/WebKit/Source/web/CompositorMutatorImpl.cpp
+++ b/third_party/WebKit/Source/web/CompositorMutatorImpl.cpp
@@ -14,7 +14,6 @@
#include "platform/heap/Handle.h"
#include "public/platform/Platform.h"
#include "web/CompositorProxyClientImpl.h"
-#include "wtf/PtrUtil.h"
namespace blink {
@@ -31,7 +30,7 @@ void createCompositorMutatorClient(std::unique_ptr<CompositorMutatorClient>* ptr
} // namespace
CompositorMutatorImpl::CompositorMutatorImpl()
- : m_animationManager(wrapUnique(new CustomCompositorAnimationManager))
+ : m_animationManager(adoptPtr(new CustomCompositorAnimationManager))
, m_client(nullptr)
{
}
« no previous file with comments | « third_party/WebKit/Source/web/CompositorMutatorImpl.h ('k') | third_party/WebKit/Source/web/ContextFeaturesClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698