mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 746990 - crash in nsXULTreeAccessible::Value, r=surkov
This commit is contained in:
parent
09bc237e5d
commit
7adaeb438d
@ -146,10 +146,11 @@ nsXULTreeAccessible::NativeState()
|
||||
void
|
||||
nsXULTreeAccessible::Value(nsString& aValue)
|
||||
{
|
||||
// Return the value is the first selected child.
|
||||
|
||||
aValue.Truncate();
|
||||
if (!mTreeView)
|
||||
return;
|
||||
|
||||
// Return the value is the first selected child.
|
||||
nsCOMPtr<nsITreeSelection> selection;
|
||||
mTreeView->GetSelection(getter_AddRefs(selection));
|
||||
if (!selection)
|
||||
|
Loading…
Reference in New Issue
Block a user