From 460209523f0a1da5de3c391fc073d11b6a23ad8c Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Tue, 8 Jul 2014 17:23:17 -0400 Subject: [PATCH] Bug 1035394 - Fix dangerous public destructors in uriloader - r=smaug --- uriloader/exthandler/ExternalHelperAppParent.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uriloader/exthandler/ExternalHelperAppParent.h b/uriloader/exthandler/ExternalHelperAppParent.h index a6f6af706124..3f620e0476b0 100644 --- a/uriloader/exthandler/ExternalHelperAppParent.h +++ b/uriloader/exthandler/ExternalHelperAppParent.h @@ -65,9 +65,10 @@ public: const bool& aForceSave, const OptionalURIParams& aReferrer, PBrowserParent* aBrowser); - virtual ~ExternalHelperAppParent(); protected: + virtual ~ExternalHelperAppParent(); + virtual void ActorDestroy(ActorDestroyReason why) MOZ_OVERRIDE; void Delete();