Index: content/browser/frame_host/render_frame_host_impl.cc |
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc |
index 3b619f154c6fca9d60b09d3a99f30145ba36c663..78c6d235fe1e854fa4531a0018ce355b468e2bd6 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -1833,7 +1833,7 @@ void RenderFrameHostImpl::RegisterMojoServices() { |
// latter is triggered by receiving a message that the pipe was closed from |
// the renderer side. Hence, supply the reference to this object as a weak |
// pointer. |
- GetServiceRegistry()->AddService<GeolocationService>( |
+ GetServiceRegistry()->AddService( |
base::Bind(&GeolocationServiceContext::CreateService, |
base::Unretained(geolocation_service_context), |
base::Bind(&RenderFrameHostImpl::DidUseGeolocationPermission, |
@@ -1855,7 +1855,7 @@ void RenderFrameHostImpl::RegisterMojoServices() { |
if (!permission_service_context_) |
permission_service_context_.reset(new PermissionServiceContext(this)); |
- GetServiceRegistry()->AddService<PermissionService>( |
+ GetServiceRegistry()->AddService( |
base::Bind(&PermissionServiceContext::CreateService, |
base::Unretained(permission_service_context_.get()))); |