Index: mojo/dart/embedder/test/dart_to_cpp_tests.dart |
diff --git a/mojo/dart/embedder/test/dart_to_cpp_tests.dart b/mojo/dart/embedder/test/dart_to_cpp_tests.dart |
index af3e07630e4b34e7876e456b91a289c152ca89b3..531666a541f37f6d3db0d4f0a43b5fb5eb6d53b9 100644 |
--- a/mojo/dart/embedder/test/dart_to_cpp_tests.dart |
+++ b/mojo/dart/embedder/test/dart_to_cpp_tests.dart |
@@ -64,8 +64,8 @@ class DartSide extends DartSideInterface { |
var messagePipe1 = new core.MojoMessagePipe(); |
var messagePipe2 = new core.MojoMessagePipe(); |
- arg.dataHandle = dataPipe1.consumer.handle; |
- arg.messageHandle = messagePipe1.endpoints[0].handle; |
+ arg.dataHandle = dataPipe1.consumer; |
+ arg.messageHandle = messagePipe1.endpoints[0]; |
var specialArg = new EchoArgs(); |
specialArg.si64 = -1; |
@@ -73,8 +73,8 @@ class DartSide extends DartSideInterface { |
specialArg.si16 = -1; |
specialArg.si8 = -1; |
specialArg.name = 'going'; |
- specialArg.dataHandle = dataPipe2.consumer.handle; |
- specialArg.messageHandle = messagePipe2.endpoints[0].handle; |
+ specialArg.dataHandle = dataPipe2.consumer; |
+ specialArg.messageHandle = messagePipe2.endpoints[0]; |
dataPipe1.producer.write(_sampleData.buffer.asByteData()); |
dataPipe2.producer.write(_sampleData.buffer.asByteData()); |