mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
Fix breakage on SunOS and IRIX
This commit is contained in:
parent
0ecf7cce91
commit
466b9ea72d
@ -852,7 +852,8 @@ PR_STATIC_CALLBACK(PRBool) set_animation_mode(nsHashKey *aKey, void *aData, void
|
||||
nsImageLoader *loader = NS_REINTERPRET_CAST(nsImageLoader*, sup);
|
||||
nsCOMPtr<imgIRequest> imgReq;
|
||||
loader->GetRequest(getter_AddRefs(imgReq));
|
||||
SetImgAnimModeOnImgReq(imgReq, (PRUint16)closure);
|
||||
PRUint32 mode = (PRUint32)closure;
|
||||
SetImgAnimModeOnImgReq(imgReq, (PRUint16)mode);
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
|
@ -852,7 +852,8 @@ PR_STATIC_CALLBACK(PRBool) set_animation_mode(nsHashKey *aKey, void *aData, void
|
||||
nsImageLoader *loader = NS_REINTERPRET_CAST(nsImageLoader*, sup);
|
||||
nsCOMPtr<imgIRequest> imgReq;
|
||||
loader->GetRequest(getter_AddRefs(imgReq));
|
||||
SetImgAnimModeOnImgReq(imgReq, (PRUint16)closure);
|
||||
PRUint32 mode = (PRUint32)closure;
|
||||
SetImgAnimModeOnImgReq(imgReq, (PRUint16)mode);
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user