Index: content/browser/renderer_host/media/shared_memory_buffer_tracker.cc |
diff --git a/content/browser/renderer_host/media/shared_memory_buffer_tracker.cc b/content/browser/renderer_host/media/shared_memory_buffer_tracker.cc |
index bf8e3cd47869215972d1277ae29fbdbd23375cb3..797fb224c783a5bde776e80d4560de1bc18687f5 100644 |
--- a/content/browser/renderer_host/media/shared_memory_buffer_tracker.cc |
+++ b/content/browser/renderer_host/media/shared_memory_buffer_tracker.cc |
@@ -38,7 +38,8 @@ SharedMemoryBufferTracker::GetBufferHandle() { |
bool SharedMemoryBufferTracker::ShareToProcess( |
base::ProcessHandle process_handle, |
base::SharedMemoryHandle* new_handle) { |
- return shared_memory_.ShareToProcess(process_handle, new_handle); |
+ *new_handle = base::SharedMemory::DuplicateHandle(shared_memory_.handle()); |
Ken Rockot(use gerrit already)
2016/10/19 05:24:18
So it looks like ShareToProcess is ultimately only
mcasas
2016/10/19 17:53:29
All right! I was a bit shy to dig deeper in this C
|
+ return true; |
} |
} // namespace content |