mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Fix for bug #4317. Changed SetPosition() to call AdjustChildWidgets() with
"this" as the second parameter instead of the scrolled view
This commit is contained in:
parent
ad325a51d0
commit
f349e95f64
@ -541,7 +541,7 @@ NS_IMETHODIMP nsScrollingView :: SetPosition(nscoord aX, nscoord aY)
|
||||
if (scrolledView)
|
||||
{
|
||||
// Adjust the positions of the scrollbars and clip view's widget
|
||||
AdjustChildWidgets(this, scrolledView, 0, 0, t2p);
|
||||
AdjustChildWidgets(this, this, 0, 0, t2p);
|
||||
}
|
||||
|
||||
if (nsnull != thiswin)
|
||||
|
Loading…
Reference in New Issue
Block a user