memset(&mPluginWindow, 0, sizeof(mPluginWindow));
nsCOMPtr<nsIPluginHost> ph = do_GetService(kCPluginManagerCID); nsCOMPtr<nsPIPluginHost> pph(do_QueryInterface(ph)); if (pph) pph->NewPluginNativeWindow(&mPluginWindow); else mPluginWindow = nsnull;
nsPluginInstanceOwner::nsPluginInstanceOwner(){  NS_INIT_ISUPPORTS();  memset(&mPluginWindow, 0, sizeof(mPluginWindow));  mInstance = nsnull;  mOwner = nsnull;  mWidget = nsnull;  mContext = nsnull;  mTagText = nsnull;  mPluginHost = nsnull;  mContentFocused = PR_FALSE;  mWidgetVisible = PR_TRUE;  mNumCachedAttrs = 0;  mNumCachedParams = 0;  mCachedAttrParamNames = nsnull;  mCachedAttrParamValues = nsnull;}