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

This commit is contained in:
peterlubczynski%netscape.com 2001-03-28 01:00:47 +00:00
Родитель ae512f6495
Коммит bed1db53f7
2 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -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);
}
}

Просмотреть файл

@ -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);
}
}