Index: net/tools/quic/quic_simple_server.cc |
diff --git a/net/tools/quic/quic_simple_server.cc b/net/tools/quic/quic_simple_server.cc |
index 77139862507ea6f0c2fdad8689ee19d2ac9e26af..ecc15dc6547d70d44a36211c41660c9c997f16c2 100644 |
--- a/net/tools/quic/quic_simple_server.cc |
+++ b/net/tools/quic/quic_simple_server.cc |
@@ -99,7 +99,7 @@ void QuicSimpleServer::Initialize() { |
kInitialSessionFlowControlWindow); |
} |
- scoped_ptr<CryptoHandshakeMessage> scfg(crypto_config_.AddDefaultConfig( |
+ std::unique_ptr<CryptoHandshakeMessage> scfg(crypto_config_.AddDefaultConfig( |
helper_->GetRandomGenerator(), helper_->GetClock(), |
QuicCryptoServerConfig::ConfigOptions())); |
} |
@@ -107,7 +107,7 @@ void QuicSimpleServer::Initialize() { |
QuicSimpleServer::~QuicSimpleServer() {} |
int QuicSimpleServer::Listen(const IPEndPoint& address) { |
- scoped_ptr<UDPServerSocket> socket( |
+ std::unique_ptr<UDPServerSocket> socket( |
new UDPServerSocket(&net_log_, NetLog::Source())); |
socket->AllowAddressReuse(); |