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

Unified Diff: ui/gfx/mojo/buffer_types.mojom

Issue 2415443005: gfx: Fix sending an invalid GpuMemoryBufferHandle over mojo. (Closed)
Patch Set: . Created 4 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 | « no previous file | ui/gfx/mojo/buffer_types_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/mojo/buffer_types.mojom
diff --git a/ui/gfx/mojo/buffer_types.mojom b/ui/gfx/mojo/buffer_types.mojom
index aa5f3be596b46aeaba924445940427c4ad6dd2d3..8b8de3b8a12635d39741be7ea3a9abb12733ffe2 100644
--- a/ui/gfx/mojo/buffer_types.mojom
+++ b/ui/gfx/mojo/buffer_types.mojom
@@ -70,7 +70,7 @@ struct NativePixmapHandle {
struct GpuMemoryBufferHandle {
GpuMemoryBufferType type;
GpuMemoryBufferId id;
- handle shared_memory_handle;
+ handle? shared_memory_handle;
uint32 offset;
uint32 stride;
NativePixmapHandle? native_pixmap_handle;
« no previous file with comments | « no previous file | ui/gfx/mojo/buffer_types_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698