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

Unified Diff: mojo/dart/packages/mojo/lib/src/message_pipe.dart

Issue 1978593002: Make the dart:mojo.internal import configuration specific. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Add test. Created 4 years, 7 months 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
Index: mojo/dart/packages/mojo/lib/src/message_pipe.dart
diff --git a/mojo/dart/packages/mojo/lib/src/message_pipe.dart b/mojo/dart/packages/mojo/lib/src/message_pipe.dart
index 7ecf10137393fa855e4f5c67f27b63d9af7f9b37..e687bcd1026fc1304c51381bf7fa9f868f74cfb5 100644
--- a/mojo/dart/packages/mojo/lib/src/message_pipe.dart
+++ b/mojo/dart/packages/mojo/lib/src/message_pipe.dart
@@ -84,9 +84,9 @@ class MojoMessagePipeEndpoint {
}
// handles may be null, otherwise convert to ints.
- List<int> mojoHandles;
+ List mojoHandles;
if (handles != null) {
- mojoHandles = new List<int>(handles.length);
+ mojoHandles = new List(handles.length);
for (int i = 0; i < handles.length; i++) {
mojoHandles[i] = handles[i].h;
}
« no previous file with comments | « mojo/dart/packages/mojo/lib/src/internal_contract.dart ('k') | mojo/dart/packages/mojo/sdk_ext/src/handle_watcher.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698