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

Unified Diff: base/memory/shared_memory.h

Issue 2843113002: make base::SharedMemoryHandle a class on POSIX. (Closed)
Patch Set: Fix test error. Created 3 years, 8 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: base/memory/shared_memory.h
diff --git a/base/memory/shared_memory.h b/base/memory/shared_memory.h
index 4b66cc6edd2c61ab12d28a00e3b0d8a53daad877..f791497c5d0aeb3dc3a3a8f0b4f7819005cf80ba 100644
--- a/base/memory/shared_memory.h
+++ b/base/memory/shared_memory.h
@@ -306,7 +306,8 @@ class BASE_EXPORT SharedMemory {
int readonly_mapped_file_;
#elif defined(OS_POSIX)
- int mapped_file_;
+ // The OS primitive that backs the shared memory region.
+ SharedMemoryHandle shm_;
int readonly_mapped_file_;
#endif
size_t mapped_size_;

Powered by Google App Engine
This is Rietveld 408576698