mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
*** empty log message ***
This commit is contained in:
parent
d998b3675d
commit
7eab79e8e3
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user