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 39292080edc53292143a9d17e006f2aea4b7d6eb..d8fd148ae7db6baa0309e69595f4dfc4fa62ec32 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -47,6 +47,7 @@ |
#include "build/build_config.h" |
#include "cc/base/switches.h" |
#include "cc/output/buffer_to_texture_target_map.h" |
+#include "components/discardable_memory/service/discardable_shared_memory_manager.h" |
#include "components/tracing/common/tracing_switches.h" |
#include "content/browser/appcache/appcache_dispatcher_host.h" |
#include "content/browser/appcache/chrome_appcache_service.h" |
@@ -1293,6 +1294,9 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() { |
registry.get(), base::Bind(&WebSocketManager::CreateWebSocket, GetID(), |
MSG_ROUTING_NONE)); |
+ registry->AddInterface( |
+ base::Bind(&discardable_memory::DiscardableSharedMemoryManager::Bind)); |
+ |
GetContentClient()->browser()->ExposeInterfacesToRenderer(registry.get(), |
this); |