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

Unified Diff: base/memory/shared_memory_posix.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_nacl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/memory/shared_memory_posix.cc
diff --git a/base/memory/shared_memory_posix.cc b/base/memory/shared_memory_posix.cc
index 28c103f96040228c0ea5c98601e9d92ffcfe18f8..666069839a620cc1576cbdf0204033b7d98db7a9 100644
--- a/base/memory/shared_memory_posix.cc
+++ b/base/memory/shared_memory_posix.cc
@@ -123,20 +123,6 @@ SharedMemory::SharedMemory(const SharedMemoryHandle& handle, bool read_only)
requested_size_(0) {
}
-SharedMemory::SharedMemory(const SharedMemoryHandle& handle,
- bool read_only,
- ProcessHandle process)
- : mapped_file_(handle.fd),
- 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_nacl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698