зеркало из https://github.com/mozilla/gecko-dev.git
Make sure to null out the pres context's container when putting the page into session history (bug 297173). r+sr=dbaron, a=brendan.
This commit is contained in:
Родитель
a7acafc4d3
Коммит
ec6e1ad2c6
|
@ -1393,8 +1393,10 @@ DocumentViewerImpl::Destroy()
|
|||
|
||||
if (mDocument)
|
||||
mDocument->SetContainer(nsnull);
|
||||
if (mPresContext)
|
||||
if (mPresContext) {
|
||||
mPresContext->SetLinkHandler(nsnull);
|
||||
mPresContext->SetContainer(nsnull);
|
||||
}
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче