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

Unified Diff: tests/isolate/browser/typed_data_message_test.dart

Issue 51393004: Remove deprecated second argument to SendPort.send(). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update isolate.dart. Created 7 years, 1 month 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: tests/isolate/browser/typed_data_message_test.dart
diff --git a/tests/isolate/browser/typed_data_message_test.dart b/tests/isolate/browser/typed_data_message_test.dart
index e4483903b00d4fac6eb8fdeddb796281f2adcae3..9432290ff029422fbe04e09b834392ebed2b1507 100644
--- a/tests/isolate/browser/typed_data_message_test.dart
+++ b/tests/isolate/browser/typed_data_message_test.dart
@@ -66,7 +66,7 @@ pingPong(SendPort initialReplyTo) {
SendPort replyTo = message[1];
if (data == -1) {
port.close();
- replyTo.send(count, null);
+ replyTo.send(count);
} else {
// Check if the received object is correct.
if (count < elements.length) {
@@ -74,7 +74,7 @@ pingPong(SendPort initialReplyTo) {
}
// Bounce the received object back so that the sender
// can make sure that the object matches.
- replyTo.send(data, null);
+ replyTo.send(data);
count++;
}
});
« no previous file with comments | « tests/compiler/dart2js_extra/runtime_type_isolate.dart ('k') | tests/isolate/isolate_complex_messages_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698