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

document before deletion.  Fixed a leak.


git-svn-id: svn://10.0.0.236/trunk@31606 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dcone%netscape.com
1999-05-14 14:40:59 +00:00
parent d1122ad37a
commit 234dceb8b2
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;

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;