зеркало из https://github.com/mozilla/pjs.git
Don't delay stopping the Quicktime plugin. b=425157 r+sr=jst a1.9=beltzner
This commit is contained in:
Родитель
7690a6377c
Коммит
196f48c789
|
@ -1779,7 +1779,9 @@ DoStopPlugin(nsPluginInstanceOwner *aInstanceOwner, PRBool aDelayedStop)
|
|||
else
|
||||
inst->SetWindow(nsnull);
|
||||
|
||||
if (aDelayedStop) {
|
||||
// Don't delay stopping Quicktime (bug 425157).
|
||||
if (aDelayedStop &&
|
||||
strcmp(::GetMIMEType(inst), "video/quicktime") != 0) {
|
||||
nsCOMPtr<nsIRunnable> evt = new nsStopPluginRunnable(aInstanceOwner);
|
||||
NS_DispatchToCurrentThread(evt);
|
||||
|
||||
|
@ -1796,7 +1798,9 @@ DoStopPlugin(nsPluginInstanceOwner *aInstanceOwner, PRBool aDelayedStop)
|
|||
else
|
||||
inst->SetWindow(nsnull);
|
||||
|
||||
if (aDelayedStop) {
|
||||
// Don't delay stopping Quicktime (bug 425157).
|
||||
if (aDelayedStop &&
|
||||
strcmp(::GetMIMEType(inst), "video/quicktime") != 0) {
|
||||
nsCOMPtr<nsIRunnable> evt = new nsStopPluginRunnable(aInstanceOwner);
|
||||
NS_DispatchToCurrentThread(evt);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче