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

Unified Diff: mojo/public/dart/mojo/lib/src/handle.dart

Issue 1414483010: Dart: Use a RawReceivePort to receive events for Mojo handles. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « mojo/public/dart/mojo/lib/src/fill_data.dart ('k') | mojo/public/dart/mojo/lib/src/proxy.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « mojo/public/dart/mojo/lib/src/fill_data.dart ('k') | mojo/public/dart/mojo/lib/src/proxy.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698