| Index: remoting/protocol/fake_session.cc
|
| diff --git a/remoting/protocol/fake_session.cc b/remoting/protocol/fake_session.cc
|
| index 8f71795743cbedba95df68ae380f41c37add081a..30a6ddb54ad4944b4ed7cc00fab2eb97f5755e3d 100644
|
| --- a/remoting/protocol/fake_session.cc
|
| +++ b/remoting/protocol/fake_session.cc
|
| @@ -113,15 +113,13 @@ bool FakeSocket::IsConnectedAndIdle() const {
|
| return false;
|
| }
|
|
|
| -int FakeSocket::GetPeerAddress(net::AddressList* address) const {
|
| - net::IPAddressNumber ip;
|
| - ip.resize(net::kIPv4AddressSize);
|
| - *address = net::AddressList::CreateFromIPAddress(ip, 0);
|
| +int FakeSocket::GetPeerAddress(net::IPEndPoint* address) const {
|
| + net::IPAddressNumber ip(net::kIPv4AddressSize);
|
| + *address = net::IPEndPoint(ip, 0);
|
| return net::OK;
|
| }
|
|
|
| -int FakeSocket::GetLocalAddress(
|
| - net::IPEndPoint* address) const {
|
| +int FakeSocket::GetLocalAddress(net::IPEndPoint* address) const {
|
| NOTIMPLEMENTED();
|
| return net::ERR_FAILED;
|
| }
|
|
|