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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user