Index: mojo/public/dart/mojo/lib/src/handle.dart |
diff --git a/mojo/public/dart/mojo/lib/src/handle.dart b/mojo/public/dart/mojo/lib/src/handle.dart |
index 583877f9c24073dcd876e088692fb32ddfc5d093..24a93221db0a9787d847e834d5a42c410c0a7e33 100644 |
--- a/mojo/public/dart/mojo/lib/src/handle.dart |
+++ b/mojo/public/dart/mojo/lib/src/handle.dart |
@@ -4,7 +4,6 @@ |
part of core; |
- |
class MojoHandle { |
static const int INVALID = 0; |
static const int DEADLINE_INDEFINITE = -1; |
@@ -81,9 +80,9 @@ class MojoHandle { |
return new MojoWaitManyResult(new MojoResult(result[0]), result[1], states); |
} |
- static MojoResult registerFinalizer(MojoEventStream eventStream) { |
+ static MojoResult registerFinalizer(MojoEventSubscription eventSubscription) { |
return new MojoResult(MojoHandleNatives.registerFinalizer( |
- eventStream, eventStream._handle.h)); |
+ eventSubscription, eventSubscription._handle.h)); |
} |
static bool reportLeakedHandles() => MojoHandleNatives.reportOpenHandles(); |