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

Unified Diff: content/browser/ppapi_plugin_process_host.cc

Issue 1575763002: Make `content` target build without unused data members on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use_disallow_copy_assign_linux_only
Patch Set: fix unit test Created 4 years, 11 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/ppapi_plugin_process_host.cc
diff --git a/content/browser/ppapi_plugin_process_host.cc b/content/browser/ppapi_plugin_process_host.cc
index 1817c762d239b812fe1193dd63223d127a4a5b0d..73db76897b8b0fded90198d8f88abf404a889ff3 100644
--- a/content/browser/ppapi_plugin_process_host.cc
+++ b/content/browser/ppapi_plugin_process_host.cc
@@ -52,7 +52,10 @@ class PpapiPluginSandboxedProcessLauncherDelegate
PpapiPluginSandboxedProcessLauncherDelegate(bool is_broker,
const PepperPluginInfo& info,
ChildProcessHost* host)
- : info_(info),
+ :
+#if defined(OS_WIN)
+ info_(info),
+#endif // OS_WIN
#if defined(OS_POSIX)
ipc_fd_(host->TakeClientFileDescriptor()),
#endif // OS_POSIX
@@ -112,7 +115,9 @@ class PpapiPluginSandboxedProcessLauncherDelegate
}
private:
+#if defined(OS_WIN)
const PepperPluginInfo& info_;
+#endif // OS_WIN
#if defined(OS_POSIX)
base::ScopedFD ipc_fd_;
#endif // OS_POSIX

Powered by Google App Engine
This is Rietveld 408576698