| Index: third_party/WebKit/Source/web/WebPepperSocket.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebPepperSocket.cpp b/third_party/WebKit/Source/web/WebPepperSocket.cpp
|
| index 65ce079f2f73fb25e31dfae8c6efd9d2e2521b10..fccbba09e6d6979d0d19d6d261b035b5b95981c2 100644
|
| --- a/third_party/WebKit/Source/web/WebPepperSocket.cpp
|
| +++ b/third_party/WebKit/Source/web/WebPepperSocket.cpp
|
| @@ -31,8 +31,6 @@
|
| #include "public/web/WebPepperSocket.h"
|
|
|
| #include "web/WebPepperSocketImpl.h"
|
| -#include "wtf/PtrUtil.h"
|
| -#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -41,10 +39,10 @@ WebPepperSocket* WebPepperSocket::create(const WebDocument& document, WebPepperS
|
| if (!client)
|
| return 0;
|
|
|
| - std::unique_ptr<WebPepperSocketImpl> websocket = wrapUnique(new WebPepperSocketImpl(document, client));
|
| + OwnPtr<WebPepperSocketImpl> websocket = adoptPtr(new WebPepperSocketImpl(document, client));
|
| if (websocket && websocket->isNull())
|
| return 0;
|
| - return websocket.release();
|
| + return websocket.leakPtr();
|
| }
|
|
|
| } // namespace blink
|
|
|