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

Unified Diff: content/public/common/common_param_traits.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: content/public/common/common_param_traits.cc
diff --git a/content/public/common/common_param_traits.cc b/content/public/common/common_param_traits.cc
index f953fa33f83e4fc2e41141de8119093cc93bb7de..9a1b3a08cb6675d094018de660afa036bc42051d 100644
--- a/content/public/common/common_param_traits.cc
+++ b/content/public/common/common_param_traits.cc
@@ -116,7 +116,7 @@ void ParamTraits<net::HostPortPair>::Log(const param_type& p, std::string* l) {
}
void ParamTraits<net::IPEndPoint>::Write(Message* m, const param_type& p) {
- WriteParam(m, p.address());
+ WriteParam(m, p.address_number());
WriteParam(m, p.port());
}

Powered by Google App Engine
This is Rietveld 408576698