зеркало из https://github.com/mozilla/gecko-dev.git
Bug 923542 - Draw to the correct destination rect when computing alpha masks. r=ajones
This commit is contained in:
Родитель
a9889b0ce1
Коммит
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));
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче