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

Unified Diff: content/renderer/p2p/ipc_socket_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: Feedback eroman 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/renderer/p2p/ipc_socket_factory.cc
diff --git a/content/renderer/p2p/ipc_socket_factory.cc b/content/renderer/p2p/ipc_socket_factory.cc
index 779bb216dd5f3b9037e59321ed4842376c7eaf90..5f47187ca0430590709410fd5062f34b97edd6af 100644
--- a/content/renderer/p2p/ipc_socket_factory.cc
+++ b/content/renderer/p2p/ipc_socket_factory.cc
@@ -564,8 +564,8 @@ void IpcPacketSocket::OnOpen(const net::IPEndPoint& local_address,
// |remote_address| could be unresolved if the connection is behind a
// proxy.
if (!remote_address.address().empty() &&
- jingle_glue::IPEndPointToSocketAddress(
- remote_address, &jingle_socket_address)) {
+ jingle_glue::IPEndPointToSocketAddress(remote_address,
eroman 2016/01/13 23:19:42 Consider remove this edit, since it is just a form
martijnc 2016/01/14 22:48:16 Done.
+ &jingle_socket_address)) {
// Set only the IP address.
remote_address_.SetResolvedIP(jingle_socket_address.ipaddr());
}

Powered by Google App Engine
This is Rietveld 408576698