Fix bug 401393, leak and assertion with Flash if Greasemonkey is installed. r=sicking, sr=jst, a=blocking1.9.
git-svn-id: svn://10.0.0.236/trunk@239103 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
82950a2cd2
commit
c4c1ec8d55
@ -3527,12 +3527,8 @@ nsPluginInstanceOwner::Destroy()
|
||||
void
|
||||
nsPluginInstanceOwner::PrepareToStop(PRBool aDelayedStop)
|
||||
{
|
||||
if (!mWidget) {
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef XP_WIN
|
||||
if (aDelayedStop) {
|
||||
if (aDelayedStop && mWidget) {
|
||||
// To delay stopping a plugin we need to reparent the plugin
|
||||
// so that we can safely tear down the
|
||||
// plugin after its frame (and view) is gone.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user