Index: chrome/app/chrome_main_delegate.cc |
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc |
index 8b6457c202be4e75f20ef6d245d73b61bbf18646..9338b895325f9174b91b47d7820465724608ab5c 100644 |
--- a/chrome/app/chrome_main_delegate.cc |
+++ b/chrome/app/chrome_main_delegate.cc |
@@ -810,7 +810,7 @@ void ChromeMainDelegate::SandboxInitialized(const std::string& process_type) { |
nacl_plugin::PPP_InitializeModule, |
nacl_plugin::PPP_ShutdownModule); |
#endif |
-#if defined(ENABLE_PLUGINS) |
+#if defined(ENABLE_PLUGINS) && defined(ENABLE_PDF) |
ChromeContentClient::SetPDFEntryFunctions( |
chrome_pdf::PPP_GetInterface, |
chrome_pdf::PPP_InitializeModule, |