Index: net/tools/quic/quic_dispatcher.cc |
diff --git a/net/tools/quic/quic_dispatcher.cc b/net/tools/quic/quic_dispatcher.cc |
index 7be789a62fb4bbc9b47e396722a992bf01013471..8bb76bad9aea31ecaef1ab1e69f93376297f3a38 100644 |
--- a/net/tools/quic/quic_dispatcher.cc |
+++ b/net/tools/quic/quic_dispatcher.cc |
@@ -174,7 +174,9 @@ QuicDispatcher::QuicDispatcher(const QuicConfig& config, |
connection_writer_factory_(this), |
supported_versions_(supported_versions), |
current_packet_(nullptr), |
- framer_(supported_versions, /*unused*/ QuicTime::Zero(), true), |
+ framer_(supported_versions, |
+ /*unused*/ QuicTime::Zero(), |
+ Perspective::IS_SERVER), |
framer_visitor_(new QuicFramerVisitor(this)) { |
framer_.set_visitor(framer_visitor_.get()); |
} |
@@ -403,7 +405,7 @@ QuicSession* QuicDispatcher::CreateQuicSession( |
// The QuicSession takes ownership of |connection| below. |
QuicConnection* connection = new QuicConnection( |
connection_id, client_address, helper_.get(), connection_writer_factory_, |
- /* owns_writer= */ true, /* is_server= */ true, |
+ /* owns_writer= */ true, Perspective::IS_SERVER, |
crypto_config_.HasProofSource(), supported_versions_); |
QuicServerSession* session = new QuicServerSession(config_, connection, this); |