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

Unified Diff: third_party/WebKit/Source/platform/WaitableEvent.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/platform/WaitableEvent.cpp
diff --git a/third_party/WebKit/Source/platform/WaitableEvent.cpp b/third_party/WebKit/Source/platform/WaitableEvent.cpp
index 3bbb8577bdfdbab3157fcc113968a651576450eb..6c5f9ee6680ede14f14392d1d960ff9a940f50d3 100644
--- a/third_party/WebKit/Source/platform/WaitableEvent.cpp
+++ b/third_party/WebKit/Source/platform/WaitableEvent.cpp
@@ -5,14 +5,15 @@
#include "platform/WaitableEvent.h"
#include "base/synchronization/waitable_event.h"
-#include "wtf/PtrUtil.h"
+#include "wtf/PassOwnPtr.h"
+
#include <vector>
namespace blink {
WaitableEvent::WaitableEvent(ResetPolicy policy, InitialState state)
{
- m_impl = wrapUnique(new base::WaitableEvent(
+ m_impl = adoptPtr(new base::WaitableEvent(
policy == ResetPolicy::Manual
? base::WaitableEvent::ResetPolicy::MANUAL
: base::WaitableEvent::ResetPolicy::AUTOMATIC,
« no previous file with comments | « third_party/WebKit/Source/platform/WaitableEvent.h ('k') | third_party/WebKit/Source/platform/WebScheduler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698