mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 978248. If the scrollframe has gone away just use the scroll offset that the APZC controller had instead of (0,0). r=botond
This commit is contained in:
parent
ff14895221
commit
96e380e604
@ -99,7 +99,7 @@ ScrollFrameTo(nsIScrollableFrame* aFrame, const CSSPoint& aPoint, bool& aSuccess
|
||||
aSuccessOut = false;
|
||||
|
||||
if (!aFrame) {
|
||||
return CSSPoint();
|
||||
return aPoint;
|
||||
}
|
||||
|
||||
// If the scrollable frame is currently in the middle of an async or smooth
|
||||
|
Loading…
Reference in New Issue
Block a user