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

Unified Diff: mojo/public/dart/mojo/sdk_ext/src/natives.dart

Issue 1410053002: Dart: Uses a pre-allocated buffer for message pipe query and read. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « mojo/public/dart/mojo/lib/src/stub.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/dart/mojo/sdk_ext/src/natives.dart
diff --git a/mojo/public/dart/mojo/sdk_ext/src/natives.dart b/mojo/public/dart/mojo/sdk_ext/src/natives.dart
index 23c80e3e2882539f252156c93fcbf4b601eb4beb..f1720dee6b8e089687897a26c0b8a753d7c5727a 100644
--- a/mojo/public/dart/mojo/sdk_ext/src/natives.dart
+++ b/mojo/public/dart/mojo/sdk_ext/src/natives.dart
@@ -44,7 +44,8 @@ class MojoMessagePipeNatives {
int handle, ByteData data, int numBytes, List<int> handles, int flags)
native "MojoMessagePipe_Read";
- static List MojoQueryAndReadMessage(int handle, int flags)
+ static void MojoQueryAndReadMessage(
+ int handle, int flags, ByteData data, Uint32List handles, List result)
native "MojoMessagePipe_QueryAndRead";
}
« no previous file with comments | « mojo/public/dart/mojo/lib/src/stub.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698