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

Unified Diff: base/memory/shared_memory_win.cc

Issue 1163943004: Make SharedMemoryHandle a class on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shared_memory_make_class3_base
Patch Set: Remove more unused headers that magically appeared from rebase. Created 5 years, 6 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_win.cc
diff --git a/base/memory/shared_memory_win.cc b/base/memory/shared_memory_win.cc
index b1f85da93356c895de4d03753ab83589f31d19da..f58116adf8267ac4cea86a3920ac8de2ccc3845a 100644
--- a/base/memory/shared_memory_win.cc
+++ b/base/memory/shared_memory_win.cc
@@ -44,7 +44,7 @@ SharedMemory::SharedMemory(const std::wstring& name)
name_(name) {
}
-SharedMemory::SharedMemory(SharedMemoryHandle handle, bool read_only)
+SharedMemory::SharedMemory(const SharedMemoryHandle& handle, bool read_only)
: mapped_file_(handle),
memory_(NULL),
read_only_(read_only),
@@ -52,7 +52,7 @@ SharedMemory::SharedMemory(SharedMemoryHandle handle, bool read_only)
mapped_size_(0) {
}
-SharedMemory::SharedMemory(SharedMemoryHandle handle,
+SharedMemory::SharedMemory(const SharedMemoryHandle& handle,
bool read_only,
ProcessHandle process)
: mapped_file_(NULL),
« no previous file with comments | « base/memory/shared_memory_unittest.cc ('k') | content/browser/renderer_host/media/video_capture_buffer_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698