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

Unified Diff: mojo/public/dart/src/message_pipe.dart

Issue 800523004: Dart: Simplifies the handle watcher. Various cleanups and bugfixes. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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: mojo/public/dart/src/message_pipe.dart
diff --git a/mojo/public/dart/src/message_pipe.dart b/mojo/public/dart/src/message_pipe.dart
index 20fca276f7f2490e9a2d0334d91a0d30ad298833..05ca6110f417018d32e24a37d8355108bba66086 100644
--- a/mojo/public/dart/src/message_pipe.dart
+++ b/mojo/public/dart/src/message_pipe.dart
@@ -113,7 +113,7 @@ class MojoMessagePipeEndpoint {
// Copy out the handles that were read.
if (handles != null) {
for (var i = 0; i < readResult.handlesRead; i++) {
- handles[i].h = mojoHandles[i];
+ handles[i] = new RawMojoHandle(mojoHandles[i]);
}
}

Powered by Google App Engine
This is Rietveld 408576698