mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
some bulletproofing/wallpapering for crasher bug #203431
r=varga, sr=bienvenu, a=sspitzer
This commit is contained in:
parent
9f6e7048fb
commit
c0914052a5
@ -729,6 +729,9 @@ nsTreeSelection::FireOnSelectHandler()
|
||||
return NS_OK;
|
||||
|
||||
nsCOMPtr<nsIBoxObject> boxObject = do_QueryInterface(mTree);
|
||||
NS_ASSERTION(boxObject, "no box object!");
|
||||
if (!boxObject)
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
nsCOMPtr<nsIDOMElement> elt;
|
||||
boxObject->GetElement(getter_AddRefs(elt));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user