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

Unified Diff: sdk/lib/io/socket.dart

Issue 2752153003: Fix incorrect signature in socket.dart. (Closed)
Patch Set: Created 3 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/socket.dart
diff --git a/sdk/lib/io/socket.dart b/sdk/lib/io/socket.dart
index 0a112d556e9ad3b7d29c6794c4e322bcb1f0337f..1f733ba617383c527a422cc324222bb2d3eae860 100644
--- a/sdk/lib/io/socket.dart
+++ b/sdk/lib/io/socket.dart
@@ -695,7 +695,7 @@ abstract class RawDatagramSocket extends Stream<RawSocketEvent> {
* If an error occur when trying to join the multicast group an
* exception is thrown.
*/
- void joinMulticast(InternetAddress group, {NetworkInterface interface});
+ void joinMulticast(InternetAddress group, [NetworkInterface interface]);
/**
* Leave a multicast group.
@@ -703,7 +703,7 @@ abstract class RawDatagramSocket extends Stream<RawSocketEvent> {
* If an error occur when trying to join the multicase group an
* exception is thrown.
*/
- void leaveMulticast(InternetAddress group, {NetworkInterface interface});
+ void leaveMulticast(InternetAddress group, [NetworkInterface interface]);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698