зеркало из https://github.com/mozilla/pjs.git
*** empty log message ***
This commit is contained in:
Родитель
8df29224a8
Коммит
d087079bb8
|
@ -1435,6 +1435,9 @@ nsObjectFrame::DidReflow(nsIPresContext& aPresContext,
|
|||
NS_RELEASE(inst);
|
||||
}
|
||||
|
||||
//~~~
|
||||
mInstanceOwner->ReleasePluginPort();
|
||||
|
||||
if (mWidget)
|
||||
{
|
||||
PRInt32 x = NSTwipsToIntPixels(origin.x, t2p);
|
||||
|
@ -2584,7 +2587,6 @@ NS_IMETHODIMP nsPluginInstanceOwner::CreateWidget(void)
|
|||
}
|
||||
else
|
||||
{
|
||||
// mPluginWindow.window = (nsPluginPort *)mWidget->GetNativeData(NS_NATIVE_WINDOW);
|
||||
mPluginWindow.window = GetPluginPort();
|
||||
mPluginWindow.type = nsPluginWindowType_Window;
|
||||
|
||||
|
|
|
@ -1435,6 +1435,9 @@ nsObjectFrame::DidReflow(nsIPresContext& aPresContext,
|
|||
NS_RELEASE(inst);
|
||||
}
|
||||
|
||||
//~~~
|
||||
mInstanceOwner->ReleasePluginPort();
|
||||
|
||||
if (mWidget)
|
||||
{
|
||||
PRInt32 x = NSTwipsToIntPixels(origin.x, t2p);
|
||||
|
@ -2584,7 +2587,6 @@ NS_IMETHODIMP nsPluginInstanceOwner::CreateWidget(void)
|
|||
}
|
||||
else
|
||||
{
|
||||
// mPluginWindow.window = (nsPluginPort *)mWidget->GetNativeData(NS_NATIVE_WINDOW);
|
||||
mPluginWindow.window = GetPluginPort();
|
||||
mPluginWindow.type = nsPluginWindowType_Window;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче