fix #146328 PluginViewerImpl::Init(nsIWidget* aParentWidget ==> check out this parameter, a=av/peterl, sr=beard

git-svn-id: svn://10.0.0.236/trunk@122268 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
serge%netscape.com
2002-05-29 18:21:58 +00:00
parent 88f990cef8
commit aa2473dda9

View File

@@ -323,6 +323,7 @@ PluginViewerImpl::Init(nsIWidget* aParentWidget,
nsIDeviceContext* aDeviceContext,
const nsRect& aBounds)
{
NS_ENSURE_TRUE(aParentWidget, NS_ERROR_NULL_POINTER);
nsresult rv = MakeWindow(aParentWidget->GetNativeData(NS_NATIVE_WIDGET),
aDeviceContext, aBounds);
if (NS_OK == rv) {