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

Unified Diff: frog/lib/isolate_serialization.dart

Issue 8577003: Convert most of the javascript isolate code into Dart, inject JS code only when (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: '' Created 9 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: frog/lib/isolate_serialization.dart
diff --git a/frog/lib/isolate_serialization.dart b/frog/lib/isolate_serialization.dart
index d836e2f0a5d66ea88e848be7bf125948c8396382..2ab10a3b45d0d2303f005c98e31c3a84c66db48d 100644
--- a/frog/lib/isolate_serialization.dart
+++ b/frog/lib/isolate_serialization.dart
@@ -117,11 +117,11 @@ class Copier extends MessageTraverser {
}
SendPort visitReceivePort(ReceivePortImpl port) {
- return port._toNewSendPort();
+ return port.toSendPort();
}
SendPort visitReceivePortSingleShot(ReceivePortSingleShotImpl port) {
- return port._toNewSendPort();
+ return port.toSendPort();
}
}

Powered by Google App Engine
This is Rietveld 408576698