| Index: webrtc/base/nethelpers.cc
|
| diff --git a/webrtc/base/nethelpers.cc b/webrtc/base/nethelpers.cc
|
| index 0c7cce6b7c3c98283268a21c14045242878441d4..d9015283b0baef98f2a370acdf334f9603a8765d 100644
|
| --- a/webrtc/base/nethelpers.cc
|
| +++ b/webrtc/base/nethelpers.cc
|
| @@ -10,6 +10,8 @@
|
|
|
| #include "webrtc/base/nethelpers.h"
|
|
|
| +#include <memory>
|
| +
|
| #if defined(WEBRTC_WIN)
|
| #include <ws2spi.h>
|
| #include <ws2tcpip.h>
|
| @@ -127,7 +129,7 @@ bool HasIPv6Enabled() {
|
| return false;
|
| }
|
| DWORD protbuff_size = 4096;
|
| - scoped_ptr<char[]> protocols;
|
| + std::unique_ptr<char[]> protocols;
|
| LPWSAPROTOCOL_INFOW protocol_infos = NULL;
|
| int requested_protocols[2] = {AF_INET6, 0};
|
|
|
|
|