18110
|
1 |
--- firefox/layout/generic/nsObjectFrame.cpp.orig 2008-08-19 18:05:29.971589219 +0800
|
|
2 |
+++ firefox/layout/generic/nsObjectFrame.cpp 2008-08-19 18:02:21.477682134 +0800
|
|
3 |
@@ -1772,10 +1772,13 @@
|
|
4 |
static PRBool
|
|
5 |
DoDelayedStop(nsPluginInstanceOwner *aInstanceOwner, PRBool aDelayedStop)
|
|
6 |
{
|
|
7 |
- // Don't delay stopping QuickTime (bug 425157), Flip4Mac (bug 426524).
|
|
8 |
+ // Don't delay stopping QuickTime (bug 425157), Flip4Mac (bug 426524),
|
|
9 |
+ // RealPlayer/Helix (bug 451007).
|
|
10 |
if (aDelayedStop &&
|
|
11 |
!::MatchPluginName(aInstanceOwner, "QuickTime") &&
|
|
12 |
- !::MatchPluginName(aInstanceOwner, "Flip4Mac")) {
|
|
13 |
+ !::MatchPluginName(aInstanceOwner, "Flip4Mac") &&
|
|
14 |
+ !::MatchPluginName(aInstanceOwner, "RealPlayer") &&
|
|
15 |
+ !::MatchPluginName(aInstanceOwner, "Helix")) {
|
|
16 |
nsCOMPtr<nsIRunnable> evt = new nsStopPluginRunnable(aInstanceOwner);
|
|
17 |
NS_DispatchToCurrentThread(evt);
|
|
18 |
return PR_TRUE;
|