bug#12722: timer interacting with image groups. pnunn. rev: neeti@netscape.com
git-svn-id: svn://10.0.0.236/trunk@57699 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -489,6 +489,11 @@ ImageNetContextImpl::Clone()
|
||||
ilINetContext *cx;
|
||||
nsCOMPtr<nsILoadGroup> group = do_QueryReferent(mLoadGroup);
|
||||
|
||||
//mReconnectArg is ImageGroup. If GetURL is triggered
|
||||
//by timer for animation, ImageGroup may have been unloaded
|
||||
//before timer kicks off.
|
||||
mReconnectCallback=nsnull; mReconnectArg=nsnull;
|
||||
|
||||
if (NS_NewImageNetContext(&cx, group, mReconnectCallback, mReconnectArg) == NS_OK)
|
||||
{
|
||||
return cx;
|
||||
|
||||
Reference in New Issue
Block a user