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 cd56882f912ba2212a67a19da6e73049f08d799b..64e089237a4a052ca49f14de7646db514efbb9ad 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -190,6 +190,7 @@ |
#endif |
#if defined(USE_OZONE) |
+#include "content/browser/gpu/browser_native_pixmap_manager_ozone.h" |
#include "ui/ozone/public/ozone_switches.h" |
#endif |
@@ -813,6 +814,9 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
gpu_message_filter_ = new GpuMessageFilter(GetID(), widget_helper_.get()); |
AddFilter(gpu_message_filter_); |
+#if defined(USE_OZONE) |
+ AddFilter(BrowserNativePixmapManager::GetInstance()->CreateMessageFilter()); |
+#endif |
#if defined(ENABLE_WEBRTC) |
AddFilter(new WebRTCIdentityServiceHost( |
GetID(), storage_partition_impl_->GetWebRTCIdentityStore())); |