components/desktop/thunderbird/patches/firefox26-06-donot-delay-stopping-realplayer.patch
changeset 5255 cea0e462549a
equal deleted inserted replaced
5252:947514442d05 5255:cea0e462549a
       
     1 See Mozilla bug #451007 - Reload page causing problems with
       
     2 RealPlayer/Helix plugin.
       
     3 We can potentially drop this patch since RealPlayer is no longer being
       
     4 supported.
       
     5 
       
     6 --- comm-esr31/mozilla/content/base/src/nsObjectLoadingContent.cpp.orig	2015-06-04 17:42:51.184423172 -0700
       
     7 +++ comm-esr31/mozilla/content/base/src/nsObjectLoadingContent.cpp	2015-06-04 17:42:51.208745161 -0700
       
     8 @@ -2744,7 +2744,8 @@
       
     9                bool aDelayedStop)
       
    10  {
       
    11    // Don't delay stopping QuickTime (bug 425157), Flip4Mac (bug 426524),
       
    12 -  // XStandard (bug 430219), CMISS Zinc (bug 429604).
       
    13 +  // XStandard (bug 430219), CMISS Zinc (bug 429604),
       
    14 +  // RealPlayer/Helix (bug 451007).
       
    15    if (aDelayedStop
       
    16  #if !(defined XP_WIN || defined MOZ_X11)
       
    17        && !aInstanceOwner->MatchPluginName("QuickTime")
       
    18 @@ -2752,6 +2753,8 @@
       
    19        && !aInstanceOwner->MatchPluginName("XStandard plugin")
       
    20        && !aInstanceOwner->MatchPluginName("CMISS Zinc Plugin")
       
    21  #endif
       
    22 +      && !aInstanceOwner->MatchPluginName("RealPlayer")
       
    23 +      && !aInstanceOwner->MatchPluginName("Helix")
       
    24        ) {
       
    25      nsCOMPtr<nsIRunnable> evt =
       
    26        new nsStopPluginRunnable(aInstanceOwner, aContent);