| Index: content/browser/renderer_host/p2p/socket_host_test_utils.h
|
| diff --git a/content/browser/renderer_host/p2p/socket_host_test_utils.h b/content/browser/renderer_host/p2p/socket_host_test_utils.h
|
| index 03822ffb3d72f37b6bafd79109a682a112d531ce..9c50cfd1dc1ca535112ce316e6197f25ea57ae75 100644
|
| --- a/content/browser/renderer_host/p2p/socket_host_test_utils.h
|
| +++ b/content/browser/renderer_host/p2p/socket_host_test_utils.h
|
| @@ -66,7 +66,7 @@ class FakeSocket : public net::StreamSocket {
|
| virtual void Disconnect() OVERRIDE;
|
| virtual bool IsConnected() const OVERRIDE;
|
| virtual bool IsConnectedAndIdle() const OVERRIDE;
|
| - virtual int GetPeerAddress(net::AddressList* address) const OVERRIDE;
|
| + virtual int GetPeerAddress(net::IPEndPoint* address) const OVERRIDE;
|
| virtual int GetLocalAddress(net::IPEndPoint* address) const OVERRIDE;
|
| virtual const net::BoundNetLog& NetLog() const OVERRIDE;
|
| virtual void SetSubresourceSpeculation() OVERRIDE;
|
| @@ -180,9 +180,8 @@ bool FakeSocket::IsConnectedAndIdle() const {
|
| return false;
|
| }
|
|
|
| -int FakeSocket::GetPeerAddress(net::AddressList* address) const {
|
| - *address = net::AddressList::CreateFromIPAddress(peer_address_.address(),
|
| - peer_address_.port());
|
| +int FakeSocket::GetPeerAddress(net::IPEndPoint* address) const {
|
| + *address = peer_address_;
|
| return net::OK;
|
| }
|
|
|
|
|