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 0589ae0fd41baea60f25ee2b9d37029e560ae10d..2e859845cee831dee6f01c04998ca7974e5c1ce8 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -74,6 +74,7 @@ |
#include "content/browser/gpu/gpu_process_host.h" |
#include "content/browser/gpu/shader_disk_cache.h" |
#include "content/browser/histogram_message_filter.h" |
+#include "content/browser/host_zoom_level_impl.h" |
#include "content/browser/indexed_db/indexed_db_context_impl.h" |
#include "content/browser/indexed_db/indexed_db_dispatcher_host.h" |
#include "content/browser/loader/resource_message_filter.h" |
@@ -1046,6 +1047,10 @@ void RenderProcessHostImpl::RegisterMojoServices() { |
base::Bind(&RenderProcessHostImpl::CreateStoragePartitionService, |
base::Unretained(this))); |
+ mojo_application_host_->service_registry()->AddService( |
+ base::Bind(&HostZoomLevelImpl::Create, |
+ base::Unretained(GetBrowserContext()), GetID())); |
+ |
#if defined(OS_ANDROID) |
ServiceRegistrarAndroid::RegisterProcessHostServices( |
mojo_application_host_->service_registry_android()); |