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

Unified Diff: components/discardable_memory/public/interfaces/discardable_shared_memory_manager.mojom

Issue 2583583002: Mojo: Fix wrapping of invalid SharedMemoryHandles. (Closed)
Patch Set: . Created 4 years 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 | mojo/public/cpp/system/platform_handle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/discardable_memory/public/interfaces/discardable_shared_memory_manager.mojom
diff --git a/components/discardable_memory/public/interfaces/discardable_shared_memory_manager.mojom b/components/discardable_memory/public/interfaces/discardable_shared_memory_manager.mojom
index 2685be1cd57cdec954c5de484a7b6e12f3c93d21..9d291d82d22a64a7cd2f353ab966e64f056660ca 100644
--- a/components/discardable_memory/public/interfaces/discardable_shared_memory_manager.mojom
+++ b/components/discardable_memory/public/interfaces/discardable_shared_memory_manager.mojom
@@ -10,7 +10,7 @@ interface DiscardableSharedMemoryManager {
// Allocate a locked discardable shared memory segment.
AllocateLockedDiscardableSharedMemory(
uint32 size,
- int32 id) => (handle<shared_buffer> memory);
+ int32 id) => (handle<shared_buffer>? memory);
// Notify manager that a memory segment has been deleted.
DeletedDiscardableSharedMemory(int32 id);
};
« no previous file with comments | « no previous file | mojo/public/cpp/system/platform_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698