| 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 6c5f9ee6680ede14f14392d1d960ff9a940f50d3..3bbb8577bdfdbab3157fcc113968a651576450eb 100644
|
| --- a/third_party/WebKit/Source/platform/WaitableEvent.cpp
|
| +++ b/third_party/WebKit/Source/platform/WaitableEvent.cpp
|
| @@ -5,15 +5,14 @@
|
| #include "platform/WaitableEvent.h"
|
|
|
| #include "base/synchronization/waitable_event.h"
|
| -#include "wtf/PassOwnPtr.h"
|
| -
|
| +#include "wtf/PtrUtil.h"
|
| #include <vector>
|
|
|
| namespace blink {
|
|
|
| WaitableEvent::WaitableEvent(ResetPolicy policy, InitialState state)
|
| {
|
| - m_impl = adoptPtr(new base::WaitableEvent(
|
| + m_impl = wrapUnique(new base::WaitableEvent(
|
| policy == ResetPolicy::Manual
|
| ? base::WaitableEvent::ResetPolicy::MANUAL
|
| : base::WaitableEvent::ResetPolicy::AUTOMATIC,
|
|
|