checking in fix for bug 86508 for nivedita@netscape.com. r=pavlov sr=tor@acm.org
git-svn-id: svn://10.0.0.236/trunk@114264 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
6dec57cc40
commit
ecb315a058
@ -170,9 +170,17 @@ NS_IMETHODIMP imgContainer::AppendFrame(gfxIImageFrame *item)
|
||||
FillWithColor(mCompositingFrame, 0);
|
||||
}
|
||||
|
||||
ZeroMask(mCompositingFrame);
|
||||
PRInt32 x;
|
||||
PRInt32 y;
|
||||
PRInt32 width;
|
||||
PRInt32 height;
|
||||
firstFrame->GetX(&x);
|
||||
firstFrame->GetY(&y);
|
||||
firstFrame->GetWidth(&width);
|
||||
firstFrame->GetHeight(&height);
|
||||
|
||||
firstFrame->DrawTo(mCompositingFrame, 0, 0, mSize.width, mSize.height);
|
||||
firstFrame->DrawTo(mCompositingFrame, x, y, width, height);
|
||||
ZeroMask(mCompositingFrame);
|
||||
BuildCompositeMask(mCompositingFrame, firstFrame);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user