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

Unified Diff: mojo/public/platform/native/system_thunks.c

Issue 1778753002: Implement MojoGetBufferInformation(), part 3. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 9 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/public/platform/native/system_thunks.c
diff --git a/mojo/public/platform/native/system_thunks.c b/mojo/public/platform/native/system_thunks.c
index f67b42fdc5559ab3c2daf4f6111582872b42ee26..467f8e5cc317712f9a4c265d6922564ba38336a5 100644
--- a/mojo/public/platform/native/system_thunks.c
+++ b/mojo/public/platform/native/system_thunks.c
@@ -143,6 +143,13 @@ MojoResult MojoDuplicateBufferHandle(
new_buffer_handle);
}
+MojoResult MojoGetBufferInformation(MojoHandle buffer_handle,
+ struct MojoBufferInformation* info,
+ uint32_t info_num_bytes) {
+ assert(g_thunks.GetBufferInformation);
+ return g_thunks.GetBufferInformation(buffer_handle, info, info_num_bytes);
+}
+
MojoResult MojoMapBuffer(MojoHandle buffer_handle,
uint64_t offset,
uint64_t num_bytes,

Powered by Google App Engine
This is Rietveld 408576698