This commit is contained in:
av%netscape.com 1999-06-13 06:00:56 +00:00
Родитель a786691ce7
Коммит ed7caf5eed
2 изменённых файлов: 8 добавлений и 4 удалений

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

@ -2575,9 +2575,11 @@ NS_IMETHODIMP nsPluginInstanceOwner::CreateWidget(void)
if (PR_TRUE == windowless)
{
//mPluginWindow.window = nsnull; //XXX this needs to be a HDC
mPluginWindow.type = nsPluginWindowType_Drawable;
mPluginWindow.window = GetPluginPort();//~~~
mPluginWindow.window = nsnull; //~~~ this needs to be a HDC according to the spec,
// but I do not see the right way to release it
// so let's postpone passing HDC till paint event
// when it is really needed. Change spec?
}
else
{

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

@ -2575,9 +2575,11 @@ NS_IMETHODIMP nsPluginInstanceOwner::CreateWidget(void)
if (PR_TRUE == windowless)
{
//mPluginWindow.window = nsnull; //XXX this needs to be a HDC
mPluginWindow.type = nsPluginWindowType_Drawable;
mPluginWindow.window = GetPluginPort();//~~~
mPluginWindow.window = nsnull; //~~~ this needs to be a HDC according to the spec,
// but I do not see the right way to release it
// so let's postpone passing HDC till paint event
// when it is really needed. Change spec?
}
else
{