BBug 554092, resizer overlaps content window scrollbar, r=roc

This commit is contained in:
Neil Deakin 2010-03-23 14:55:35 -04:00
parent 08d2de7ec0
commit 3bbcde7acc

View File

@ -3047,8 +3047,7 @@ nsGfxScrollFrameInner::AdjustScrollbarRectForResizer(
if (!widget || !widget->ShowsResizeIndicator(&widgetRect))
return;
nsRect resizerRect =
nsRect(aPresContext->DevPixelsToAppUnits(widgetRect.x) - offset.x,
resizerRect = nsRect(aPresContext->DevPixelsToAppUnits(widgetRect.x) - offset.x,
aPresContext->DevPixelsToAppUnits(widgetRect.y) - offset.y,
aPresContext->DevPixelsToAppUnits(widgetRect.width),
aPresContext->DevPixelsToAppUnits(widgetRect.height));