NPP_SetWindow should be called after instantiating the stream bug 70686 a=av sr=waterson

git-svn-id: svn://10.0.0.236/trunk@90600 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterlubczynski%netscape.com
2001-03-28 01:00:47 +00:00
parent a09ca6422a
commit def9171742
2 changed files with 8 additions and 0 deletions

View File

@@ -2608,6 +2608,10 @@ NS_IMETHODIMP nsPluginHostImpl::InstantiateFullPagePlugin(const char *aMimeType,
rv = NewFullPagePluginStream(aStreamListener, instance);
// If we've got a native window, the let the plugin know about it.
if (window->window)
instance->SetWindow(window);
NS_RELEASE(instance);
}
}