mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 923542 - Draw to the correct destination rect when computing alpha masks. r=ajones
This commit is contained in:
parent
a9889b0ce1
commit
12137347af
@ -2267,7 +2267,7 @@ nsWindow::UpdateAlpha(gfxPattern* aPattern, nsIntRect aBoundsRect)
|
||||
stride, FORMAT_A8);
|
||||
|
||||
if (drawTarget) {
|
||||
drawTarget->FillRect(ToRect(aBoundsRect),
|
||||
drawTarget->FillRect(Rect(0, 0, aBoundsRect.width, aBoundsRect.height),
|
||||
*aPattern->GetPattern(drawTarget),
|
||||
DrawOptions(1.0, OP_SOURCE));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user