diff --git a/layout/generic/nsFrame.cpp b/layout/generic/nsFrame.cpp index 2cf5e94deed1..7e20c0a35c21 100644 --- a/layout/generic/nsFrame.cpp +++ b/layout/generic/nsFrame.cpp @@ -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