Skip to content

Commit

Permalink
Bug 1824465 - Part 17: Make ProxyAutoConfigChild refcounted, r=necko-…
Browse files Browse the repository at this point in the history
…reviewers,kershaw

Differential Revision: https://phabricator.services.mozilla.com/D173732
  • Loading branch information
mystor committed Apr 5, 2023
1 parent 6144fd9 commit a4cc84d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion netwerk/ipc/PProxyAutoConfig.ipdl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
namespace mozilla {
namespace net {

[ManualDealloc]
sync protocol PProxyAutoConfig
{
child:
Expand Down
2 changes: 1 addition & 1 deletion netwerk/ipc/ProxyAutoConfigChild.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ProxyAutoConfig;

class ProxyAutoConfigChild final : public PProxyAutoConfigChild {
public:
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(ProxyAutoConfigChild)
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(ProxyAutoConfigChild, final)

static bool Create(Endpoint<PProxyAutoConfigChild>&& aEndpoint);
static bool CreatePACThread();
Expand Down
2 changes: 1 addition & 1 deletion netwerk/ipc/ProxyAutoConfigParent.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace net {

class ProxyAutoConfigParent final : public PProxyAutoConfigParent {
public:
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(ProxyAutoConfigParent)
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(ProxyAutoConfigParent, final)

ProxyAutoConfigParent();
void Init(Endpoint<PProxyAutoConfigParent>&& aEndpoint);
Expand Down

0 comments on commit a4cc84d

Please sign in to comment.