| Index: third_party/WebKit/Source/modules/background_sync/SyncCallbacks.cpp
|
| diff --git a/third_party/WebKit/Source/modules/background_sync/SyncCallbacks.cpp b/third_party/WebKit/Source/modules/background_sync/SyncCallbacks.cpp
|
| index 9b6e3e7cb993da72fe7a40c85c109755dcd9c5ed..b25dae9460c5ab179ab996870cb8db7ce70e986c 100644
|
| --- a/third_party/WebKit/Source/modules/background_sync/SyncCallbacks.cpp
|
| +++ b/third_party/WebKit/Source/modules/background_sync/SyncCallbacks.cpp
|
| @@ -7,8 +7,8 @@
|
| #include "bindings/core/v8/ScriptPromiseResolver.h"
|
| #include "modules/background_sync/SyncError.h"
|
| #include "modules/serviceworkers/ServiceWorkerRegistration.h"
|
| -#include "wtf/OwnPtr.h"
|
| -#include "wtf/PassOwnPtr.h"
|
| +#include "wtf/PtrUtil.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -30,7 +30,7 @@ void SyncRegistrationCallbacks::onSuccess(std::unique_ptr<WebSyncRegistration> w
|
| return;
|
| }
|
|
|
| - OwnPtr<WebSyncRegistration> registration = adoptPtr(webSyncRegistration.release());
|
| + std::unique_ptr<WebSyncRegistration> registration = wrapUnique(webSyncRegistration.release());
|
| if (!registration) {
|
| m_resolver->resolve(v8::Null(m_resolver->getScriptState()->isolate()));
|
| return;
|
|
|