summaryrefslogtreecommitdiffstats
path: root/ipc/glue/Endpoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/glue/Endpoint.h')
-rw-r--r--ipc/glue/Endpoint.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ipc/glue/Endpoint.h b/ipc/glue/Endpoint.h
index d7eea94dfc..e4d32a7119 100644
--- a/ipc/glue/Endpoint.h
+++ b/ipc/glue/Endpoint.h
@@ -214,7 +214,7 @@ class UntypedManagedEndpoint {
~UntypedManagedEndpoint() noexcept;
- bool BindCommon(IProtocol* aActor, IProtocol* aManager);
+ bool BindCommon(IProtocol* aActor, IRefCountedProtocol* aManager);
private:
friend struct IPDLParamTraits<UntypedManagedEndpoint>;
@@ -267,7 +267,8 @@ class ManagedEndpoint : public UntypedManagedEndpoint {
ManagedEndpoint(const PrivateIPDLInterface&, IProtocol* aActor)
: UntypedManagedEndpoint(aActor) {}
- bool Bind(const PrivateIPDLInterface&, PFooSide* aActor, IProtocol* aManager,
+ bool Bind(const PrivateIPDLInterface&, PFooSide* aActor,
+ IRefCountedProtocol* aManager,
ManagedContainer<PFooSide>& aContainer) {
if (!BindCommon(aActor, aManager)) {
return false;