added a webshell parameter to the PrintContent call, unhooked the PresShell from the

document before deletion.  Fixed a leak.
This commit is contained in:
dcone@netscape.com
1999-05-14 14:40:59 +00:00
parent 85779b839d
commit 8c4eeb6d8e
6 changed files with 330 additions and 234 deletions

View File

@@ -134,7 +134,7 @@ public:
NS_IMETHOD Show();
NS_IMETHOD Hide();
NS_IMETHOD Print();
NS_IMETHOD PrintContent(void);
NS_IMETHOD PrintContent(nsIWebShell *aParent,nsIDeviceContext *aDContext);
NS_IMETHOD SetEnableRendering(PRBool aOn);
NS_IMETHOD GetEnableRendering(PRBool* aResult);
@@ -471,7 +471,7 @@ PluginViewerImpl::Print(void)
NS_IMETHODIMP
PluginViewerImpl::PrintContent()
PluginViewerImpl::PrintContent(nsIWebShell *aParent,nsIDeviceContext *aDContext)
{
return NS_OK;