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

Unified Diff: content/browser/renderer_host/sandbox_ipc_linux.cc

Issue 2843113002: make base::SharedMemoryHandle a class on POSIX. (Closed)
Patch Set: Fix test error. Created 3 years, 8 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: content/browser/renderer_host/sandbox_ipc_linux.cc
diff --git a/content/browser/renderer_host/sandbox_ipc_linux.cc b/content/browser/renderer_host/sandbox_ipc_linux.cc
index 37445f07bc893bb724e3c5b86d946b498699fe23..dad523f99acbaf95364f38e9177a2fd14d8ddeda 100644
--- a/content/browser/renderer_host/sandbox_ipc_linux.cc
+++ b/content/browser/renderer_host/sandbox_ipc_linux.cc
@@ -341,7 +341,7 @@ void SandboxIPCHandler::HandleMakeSharedMemorySegment(
int shm_fd = -1;
base::SharedMemory shm;
if (shm.Create(options))
- shm_fd = shm.handle().fd;
+ shm_fd = shm.handle().GetHandle();
base::Pickle reply;
SendRendererReply(fds, reply, shm_fd);
}

Powered by Google App Engine
This is Rietveld 408576698