Index: mojo/dart/test/handle_finalizer_test.dart |
diff --git a/mojo/dart/test/handle_finalizer_test.dart b/mojo/dart/test/handle_finalizer_test.dart |
index 39a1522ffbb4fe7c9215ccc8b1d3ced4f4d1ec22..c4167e5cf68680a2f57a5bc171dceea71a111081 100644 |
--- a/mojo/dart/test/handle_finalizer_test.dart |
+++ b/mojo/dart/test/handle_finalizer_test.dart |
@@ -16,9 +16,9 @@ MojoHandle leakMojoHandle() { |
var endpoint = pipe.endpoints[0]; |
Expect.isTrue(endpoint.handle.isValid); |
- var eventStream = new MojoEventStream(endpoint.handle); |
- // After making a MojoEventStream, the underlying mojo handle will have |
- // the native MojoClose called on it when the MojoEventStream is GC'd or the |
+ var eventSubscription = new MojoEventSubscription(endpoint.handle); |
+ // After making a MojoEventHandler, the underlying mojo handle will have |
Cutch
2015/11/11 19:08:15
s/MojoEventHandler/MojoEventSubscription
zra
2015/11/11 20:43:26
Done.
|
+ // the native MojoClose called on it when the MojoEventHandler is GC'd or the |
// VM shuts down. |
return endpoint.handle; |