зеркало из https://github.com/mozilla/gecko-dev.git
Back out GetScreenRect fix in bug 485121 in case it caused a test failure on Linux
This commit is contained in:
Коммит
1e9f2fae4e
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче