mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 18:50:08 +00:00
fixed some image bugs
This commit is contained in:
parent
3b6d9904a7
commit
9761f1f6d2
@ -1024,6 +1024,8 @@ nsRect tr;
|
||||
|
||||
if (aImage != nsnull)
|
||||
{
|
||||
::SetPort(mRenderingSurface);
|
||||
::SetClip(mMainRegion);
|
||||
((nsImageMac*)aImage)->Draw(*this,mRenderingSurface,tr.x,tr.y,tr.width,tr.height);
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user