зеркало из https://github.com/mozilla/pjs.git
Fixing topcrash bug 155681 (patch from timeless@bemail.org, plus slight modification by me). Don't call methods on mDocShell if it's null. r=cbiesinger@web.de, sr=jst@netscape.com
This commit is contained in:
Родитель
20a199b084
Коммит
d06525360a
|
@ -5011,6 +5011,12 @@ GlobalWindowImpl::GetScrollInfo(nsIScrollableView **aScrollableView,
|
|||
float *aP2T, float *aT2P)
|
||||
{
|
||||
*aScrollableView = nsnull;
|
||||
*aP2T = 0.0f;
|
||||
*aT2P = 0.0f;
|
||||
|
||||
if (!mDocShell) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
// Flush pending notifications so that the presentation is up to
|
||||
// date.
|
||||
|
|
Загрузка…
Ссылка в новой задаче