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