Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: net/quic/quic_stream_factory.cc

Issue 1565303002: Change IPEndpoint::address() to return a net::IPAddress (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/quic/quic_stream_factory.cc
diff --git a/net/quic/quic_stream_factory.cc b/net/quic/quic_stream_factory.cc
index 2986c59b258cc1928c2c0395a2b8a788e13765f5..54d47efe2c93480673371424f6f584806d9682ae 100644
--- a/net/quic/quic_stream_factory.cc
+++ b/net/quic/quic_stream_factory.cc
@@ -685,7 +685,7 @@ void QuicStreamFactory::set_require_confirmation(bool require_confirmation) {
require_confirmation_ = require_confirmation;
if (!(local_address_ == IPEndPoint())) {
http_server_properties_->SetSupportsQuic(!require_confirmation,
- local_address_.address());
+ local_address_.address_number());
}
}
@@ -1264,7 +1264,7 @@ int QuicStreamFactory::CreateSession(const QuicServerId& server_id,
check_persisted_supports_quic_ = false;
IPAddressNumber last_address;
if (http_server_properties_->GetSupportsQuic(&last_address) &&
- last_address == local_address_.address()) {
+ last_address == local_address_.address_number()) {
require_confirmation_ = false;
}
}

Powered by Google App Engine
This is Rietveld 408576698