Bug 772246 - nsSVGUtils::GetPostFilterVisualOverflowRect should not offset the returned rect by the frame's position. r=roc.

This commit is contained in:
Jonathan Watt 2012-07-10 13:09:08 +01:00
Родитель cfa4aecb75
Коммит 278d6fb643
1 изменённых файлов: 1 добавлений и 2 удалений

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

@ -591,8 +591,7 @@ nsSVGUtils::GetPostFilterVisualOverflowRect(nsIFrame *aFrame,
return aPreFilterRect;
}
return filter->GetPostFilterBounds(aFrame, nsnull, &aPreFilterRect) -
aFrame->GetPosition();
return filter->GetPostFilterBounds(aFrame, nsnull, &aPreFilterRect);
}
bool