Bug 923542 - Draw to the correct destination rect when computing alpha masks. r=ajones

This commit is contained in:
Matt Woodrow 2013-10-15 14:55:15 +13:00
Родитель a9889b0ce1
Коммит 12137347af
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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));
}