Checking in for pollman

Fix for Bug 68321 r=javi, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@97459 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
javi%netscape.com 2001-06-19 22:38:26 +00:00
parent c9eea283ff
commit ca38d51701

View File

@ -93,6 +93,12 @@ nsSecureBrowserUIImpl::nsSecureBrowserUIImpl()
nsSecureBrowserUIImpl::~nsSecureBrowserUIImpl()
{
nsresult rv;
// remove self from form post notifications:
nsCOMPtr<nsIObserverService> svc(do_GetService(NS_OBSERVERSERVICE_CONTRACTID, &rv));
if (NS_SUCCEEDED(rv)) {
svc->RemoveObserver(this, NS_ConvertASCIItoUCS2(NS_FORMSUBMIT_SUBJECT).get());
}
}
NS_IMPL_ISUPPORTS6(nsSecureBrowserUIImpl,