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]); |
} |
} |