| Index: third_party/WebKit/Source/web/SharedWorkerRepositoryClientImpl.h
|
| diff --git a/third_party/WebKit/Source/web/SharedWorkerRepositoryClientImpl.h b/third_party/WebKit/Source/web/SharedWorkerRepositoryClientImpl.h
|
| index ce912159d32dc462006268e5ab29a94d6c604a57..fbc621d5e3d4175f44fa4b145dfef67036dfe036 100644
|
| --- a/third_party/WebKit/Source/web/SharedWorkerRepositoryClientImpl.h
|
| +++ b/third_party/WebKit/Source/web/SharedWorkerRepositoryClientImpl.h
|
| @@ -33,8 +33,9 @@
|
|
|
| #include "core/workers/SharedWorkerRepositoryClient.h"
|
| #include "wtf/Noncopyable.h"
|
| -#include "wtf/PassOwnPtr.h"
|
| #include "wtf/PassRefPtr.h"
|
| +#include "wtf/PtrUtil.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -44,9 +45,9 @@ class SharedWorkerRepositoryClientImpl final : public SharedWorkerRepositoryClie
|
| WTF_MAKE_NONCOPYABLE(SharedWorkerRepositoryClientImpl);
|
| USING_FAST_MALLOC(SharedWorkerRepositoryClientImpl);
|
| public:
|
| - static PassOwnPtr<SharedWorkerRepositoryClientImpl> create(WebSharedWorkerRepositoryClient* client)
|
| + static std::unique_ptr<SharedWorkerRepositoryClientImpl> create(WebSharedWorkerRepositoryClient* client)
|
| {
|
| - return adoptPtr(new SharedWorkerRepositoryClientImpl(client));
|
| + return wrapUnique(new SharedWorkerRepositoryClientImpl(client));
|
| }
|
|
|
| ~SharedWorkerRepositoryClientImpl() override { }
|
|
|