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

Unified Diff: net/http/http_cache_transaction.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/http/http_cache_transaction.cc
diff --git a/net/http/http_cache_transaction.cc b/net/http/http_cache_transaction.cc
index 3b9f28dc30c8a42ceae09cd575916a131491e980..cb9c5eec6ea503a0a2a5241c4740176f17cc58ac 100644
--- a/net/http/http_cache_transaction.cc
+++ b/net/http/http_cache_transaction.cc
@@ -604,7 +604,7 @@ bool HttpCache::Transaction::GetRemoteEndpoint(IPEndPoint* endpoint) const {
if (network_trans_)
return network_trans_->GetRemoteEndpoint(endpoint);
- if (!old_remote_endpoint_.address().empty()) {
+ if (!old_remote_endpoint_.address_number().empty()) {
*endpoint = old_remote_endpoint_;
return true;
}

Powered by Google App Engine
This is Rietveld 408576698