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

Unified Diff: content/browser/gpu/gpu_process_host.cc

Issue 2164883003: Delete SandboxedProcessLauncherDelegate::TakeIpcFd. Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-ppapi-channel-mojo
Patch Set: Created 4 years, 5 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
« no previous file with comments | « content/browser/child_process_launcher.cc ('k') | content/browser/ppapi_plugin_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_process_host.cc
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc
index 58fa17f847864e8d9b772f4d29149a8b77900f69..147c0845d02c96b224970bbb563c0552f4e1323c 100644
--- a/content/browser/gpu/gpu_process_host.cc
+++ b/content/browser/gpu/gpu_process_host.cc
@@ -193,10 +193,9 @@ class GpuSandboxedProcessLauncherDelegate
GpuSandboxedProcessLauncherDelegate(base::CommandLine* cmd_line,
ChildProcessHost* host)
#if defined(OS_WIN)
- : cmd_line_(cmd_line) {}
-#elif defined(OS_POSIX)
- : ipc_fd_(host->TakeClientFileDescriptor()) {}
+ : cmd_line_(cmd_line)
#endif
+ {}
~GpuSandboxedProcessLauncherDelegate() override {}
@@ -277,9 +276,6 @@ class GpuSandboxedProcessLauncherDelegate
return true;
}
-#elif defined(OS_POSIX)
-
- base::ScopedFD TakeIpcFd() override { return std::move(ipc_fd_); }
#endif // OS_WIN
SandboxType GetSandboxType() override {
@@ -289,8 +285,6 @@ class GpuSandboxedProcessLauncherDelegate
private:
#if defined(OS_WIN)
base::CommandLine* cmd_line_;
-#elif defined(OS_POSIX)
- base::ScopedFD ipc_fd_;
#endif // OS_WIN
};
« no previous file with comments | « content/browser/child_process_launcher.cc ('k') | content/browser/ppapi_plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698