зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
b12634e3b5
Коммит
5784e916ea
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче