Browse Source

Update SharedMemory buf constructor

Brian R. Bondy 9 years ago
parent
commit
a52dbf0784
1 changed files with 1 additions and 1 deletions
  1. 1 1
      chromium_src/chrome/browser/printing/printing_message_filter.cc

+ 1 - 1
chromium_src/chrome/browser/printing/printing_message_filter.cc

@@ -140,7 +140,7 @@ void PrintingMessageFilter::OnDuplicateSection(
     base::SharedMemoryHandle* browser_handle) {
   // Duplicate the handle in this process right now so the memory is kept alive
   // (even if it is not mapped)
-  base::SharedMemory shared_buf(renderer_handle, true, PeerHandle());
+  base::SharedMemory shared_buf(renderer_handle, true);
   shared_buf.GiveToProcess(base::GetCurrentProcessHandle(), browser_handle);
 }
 #endif