mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 587960. Don't run tree view code when the document is a zombie. r=bzbarsky a=roc
This commit is contained in:
parent
ce930f4482
commit
ede56de270
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user