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

Unified Diff: runtime/bin/socket.h

Issue 25411003: Remove usage of legacy inet_ntop from dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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
« no previous file with comments | « no previous file | runtime/bin/socket_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/socket.h
diff --git a/runtime/bin/socket.h b/runtime/bin/socket.h
index d6f9b0df1da0b0faeef278ab2f08022615210b9b..63fc5ef94279b532af1b2296af5b0c44b239d5d4 100644
--- a/runtime/bin/socket.h
+++ b/runtime/bin/socket.h
@@ -52,7 +52,7 @@ class SocketAddress {
ADDRESS_LAST = ADDRESS_ANY_IP_V6,
};
- explicit SocketAddress(struct sockaddr* sockaddr);
+ explicit SocketAddress(struct sockaddr* sa);
~SocketAddress() {}
@@ -101,9 +101,9 @@ class SocketAddress {
class InterfaceSocketAddress {
public:
- explicit InterfaceSocketAddress(struct sockaddr* sockaddr,
+ explicit InterfaceSocketAddress(struct sockaddr* sa,
const char* interface_name)
- : socket_address_(new SocketAddress(sockaddr)),
+ : socket_address_(new SocketAddress(sa)),
interface_name_(interface_name) {}
~InterfaceSocketAddress() {
« no previous file with comments | « no previous file | runtime/bin/socket_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698