Index: chrome/app/chrome_main_delegate.cc |
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc |
index 671f5af8155ca82ef8f39beae8c38829d32634cb..623b20ab85a362b6a3b67476084389990bc04732 100644 |
--- a/chrome/app/chrome_main_delegate.cc |
+++ b/chrome/app/chrome_main_delegate.cc |
@@ -744,9 +744,9 @@ int ChromeMainDelegate::RunProcess( |
const content::MainFunctionParams& main_function_params) { |
// ANDROID doesn't support "service", so no ServiceProcessMain, and arraysize |
// doesn't support empty array. So we comment out the block for Android. |
-#if !defined(OS_ANDROID) && !defined(CHROME_MULTIPLE_DLL_CHILD) |
+#if !defined(OS_ANDROID) |
static const MainFunction kMainFunctions[] = { |
-#if defined(ENABLE_FULL_PRINTING) |
+#if defined(ENABLE_FULL_PRINTING) && !defined(CHROME_MULTIPLE_DLL_CHILD) |
{ switches::kServiceProcess, ServiceProcessMain }, |
#endif |