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

Unified Diff: base/memory/shared_memory_mac.cc

Issue 1529283002: Cleanup: Remove unused SharedMemory ctor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nope, revert Created 5 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 | « base/memory/shared_memory.h ('k') | base/memory/shared_memory_nacl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/shared_memory_mac.cc
diff --git a/base/memory/shared_memory_mac.cc b/base/memory/shared_memory_mac.cc
index a54d0bac73938458ad16136003f0737556cfb473..6f152f7d302e7c0728ef57e6f76d74140ee1820d 100644
--- a/base/memory/shared_memory_mac.cc
+++ b/base/memory/shared_memory_mac.cc
@@ -207,20 +207,6 @@ SharedMemory::SharedMemory(const SharedMemoryHandle& handle, bool read_only)
read_only_(read_only),
requested_size_(0) {}
-SharedMemory::SharedMemory(const SharedMemoryHandle& handle,
- bool read_only,
- ProcessHandle process)
- : mapped_memory_mechanism_(SharedMemoryHandle::POSIX),
- readonly_mapped_file_(-1),
- mapped_size_(0),
- memory_(NULL),
- read_only_(read_only),
- requested_size_(0) {
- // We don't handle this case yet (note the ignored parameter); let's die if
- // someone comes calling.
- NOTREACHED();
-}
-
SharedMemory::~SharedMemory() {
Unmap();
Close();
« no previous file with comments | « base/memory/shared_memory.h ('k') | base/memory/shared_memory_nacl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698