Transparent animated GIF displays incorrectly

bug=105804 r=pavlov sr=tor a=asa patch=nivedita@netscape.com


git-svn-id: svn://10.0.0.236/trunk@115930 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
badami%netscape.com
2002-03-06 04:41:35 +00:00
parent 32fbf8f488
commit 39264b68bf

View File

@@ -509,12 +509,6 @@ void imgContainer::DoComposite(gfxIImageFrame** aFrameToUse, nsRect* aDirtyRect,
switch (prevFrameDisposalMethod) {
default:
case 0: // DISPOSE_NOT_SPECIFIED
*aFrameToUse = mCompositingFrame;
NS_ADDREF(*aFrameToUse);
nextFrame->DrawTo(mCompositingFrame, x, y, width, height);
break;
case 1: // DISPOSE_KEEP Leave previous frame in the framebuffer
*aFrameToUse = mCompositingFrame;
NS_ADDREF(*aFrameToUse);