mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 01:35:35 +00:00
Bustage fix for bug 500593.
This commit is contained in:
parent
c3ab076f19
commit
ba718de566
@ -1906,7 +1906,6 @@ DoStopPlugin(nsPluginInstanceOwner *aInstanceOwner, PRBool aDelayedStop)
|
|||||||
// XXXjst: ns4xPluginInstance::Destroy() is a no-op, clean
|
// XXXjst: ns4xPluginInstance::Destroy() is a no-op, clean
|
||||||
// this mess up when there are no other instance types.
|
// this mess up when there are no other instance types.
|
||||||
inst->Stop();
|
inst->Stop();
|
||||||
inst->Destroy();
|
|
||||||
|
|
||||||
if (window)
|
if (window)
|
||||||
window->CallSetWindow(nullinst);
|
window->CallSetWindow(nullinst);
|
||||||
@ -1923,7 +1922,6 @@ DoStopPlugin(nsPluginInstanceOwner *aInstanceOwner, PRBool aDelayedStop)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
inst->Stop();
|
inst->Stop();
|
||||||
inst->Destroy();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user