Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index 5c0f01f563a60cca84dc6197ebc7e4ca7e2ff2e3..385c90b314614e7e2746b15c278d427fe5045530 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -537,6 +537,7 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
#if defined(ENABLE_WEBRTC) |
channel_->AddFilter(new MediaStreamDispatcherHost(GetID())); |
#endif |
+#if defined(ENABLE_PLUGINS) |
channel_->AddFilter( |
GetContentClient()->browser()->AllowPepperPrivateFileAPI() ? |
new PepperUnsafeFileMessageFilter( |
@@ -545,6 +546,7 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
new PepperFileMessageFilter(GetID())); |
channel_->AddFilter(new PepperMessageFilter(PepperMessageFilter::RENDERER, |
GetID(), browser_context)); |
+#endif |
#if defined(ENABLE_INPUT_SPEECH) |
channel_->AddFilter(new InputTagSpeechDispatcherHost( |
IsGuest(), GetID(), storage_partition_impl_->GetURLRequestContext(), |