Back out GetScreenRect fix in bug 485121 in case it caused a test failure on Linux

This commit is contained in:
Robert O'Callahan 2009-04-12 00:38:50 +12:00
commit 8a9fcacdc2

View File

@ -3600,7 +3600,7 @@ nsIntRect nsIFrame::GetScreenRectExternal() const
nsIntRect nsIFrame::GetScreenRect() const
{
return nsRect::ToNearestPixels(GetScreenRectInAppUnits(), PresContext()->AppUnitsPerDevPixel());
return nsRect::ToOutsidePixels(GetScreenRectInAppUnits(), PresContext()->AppUnitsPerDevPixel());
}
// virtual