Index: content/app/content_main_runner.cc |
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc |
index 22115ced37a5837dade8ddbcc6e1cd092ea82065..a74e7b61f555703cf829264610c10c0dd6207fe5 100644 |
--- a/content/app/content_main_runner.cc |
+++ b/content/app/content_main_runner.cc |
@@ -421,10 +421,12 @@ int RunNamedProcessTypeMain( |
static const MainFunction kMainFunctions[] = { |
{ "", BrowserMain }, |
{ switches::kRendererProcess, RendererMain }, |
+#if defined(ENABLE_PLUGINS) |
{ switches::kPluginProcess, PluginMain }, |
{ switches::kWorkerProcess, WorkerMain }, |
{ switches::kPpapiPluginProcess, PpapiPluginMain }, |
{ switches::kPpapiBrokerProcess, PpapiBrokerMain }, |
+#endif |
{ switches::kUtilityProcess, UtilityMain }, |
{ switches::kGpuProcess, GpuMain }, |
}; |