| Index: sdk/lib/io/websocket_impl.dart
|
| diff --git a/sdk/lib/io/websocket_impl.dart b/sdk/lib/io/websocket_impl.dart
|
| index 17520a1ecfb72bfef75a7ebce21403d8040b1871..047cf697ea135feda1b815d4f03e09b2bbe4a04b 100644
|
| --- a/sdk/lib/io/websocket_impl.dart
|
| +++ b/sdk/lib/io/websocket_impl.dart
|
| @@ -1184,7 +1184,7 @@ class _WebSocketImpl extends Stream with _ServiceObject implements WebSocket {
|
| void add(data) { _sink.add(data); }
|
| void addUtf8Text(List<int> bytes) {
|
| if (bytes is! List<int>) {
|
| - throw new ArgumentError(bytes, "bytes", "Is not a list of bytes");
|
| + throw new ArgumentError.value(bytes, "bytes", "Is not a list of bytes");
|
| }
|
| _sink.add(new _EncodedString(bytes));
|
| }
|
|
|