| Index: net/quic/test_tools/quic_connection_peer.cc
|
| diff --git a/net/quic/test_tools/quic_connection_peer.cc b/net/quic/test_tools/quic_connection_peer.cc
|
| index dd75ca808e008102f1416c868a0cc0ca0532a957..3525a3247ef52feb00204d5db3aae5e6d36ba0f6 100644
|
| --- a/net/quic/test_tools/quic_connection_peer.cc
|
| +++ b/net/quic/test_tools/quic_connection_peer.cc
|
| @@ -100,15 +100,10 @@ QuicPacketEntropyHash QuicConnectionPeer::ReceivedEntropyHash(
|
| }
|
|
|
| // static
|
| -bool QuicConnectionPeer::IsServer(QuicConnection* connection) {
|
| - return connection->is_server_;
|
| -}
|
| -
|
| -// static
|
| -void QuicConnectionPeer::SetIsServer(QuicConnection* connection,
|
| - bool is_server) {
|
| - connection->is_server_ = is_server;
|
| - QuicFramerPeer::SetIsServer(&connection->framer_, is_server);
|
| +void QuicConnectionPeer::SetPerspective(QuicConnection* connection,
|
| + Perspective perspective) {
|
| + connection->perspective_ = perspective;
|
| + QuicFramerPeer::SetPerspective(&connection->framer_, perspective);
|
| }
|
|
|
| // static
|
|
|