зеркало из https://github.com/mozilla/pjs.git
Bug 587960. Don't run tree view code when the document is a zombie. r=bzbarsky a=roc
This commit is contained in:
Родитель
6b5f72cd6c
Коммит
82a76b7c84
|
@ -2527,7 +2527,10 @@ NS_IMETHODIMP
|
|||
nsTreeBodyFrame::GetCursor(const nsPoint& aPoint,
|
||||
nsIFrame::Cursor& aCursor)
|
||||
{
|
||||
if (mView) {
|
||||
// Check the GetScriptHandlingObject so we don't end up running code when
|
||||
// the document is a zombie.
|
||||
PRBool dummy;
|
||||
if (mView && GetContent()->GetCurrentDoc()->GetScriptHandlingObject(dummy)) {
|
||||
PRInt32 row;
|
||||
nsTreeColumn* col;
|
||||
nsIAtom* child;
|
||||
|
|
Загрузка…
Ссылка в новой задаче