mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 666337 - nsTSubstring::Equals(char*) insists we not call it with a NULL argument r=surkov
This commit is contained in:
parent
057badfdf2
commit
716d7edb62
@ -1081,7 +1081,7 @@ nsAccessibleWrap::FirePlatformEvent(AccEvent* aEvent)
|
||||
nsString newName;
|
||||
accessible->GetName(newName);
|
||||
NS_ConvertUTF16toUTF8 utf8Name(newName);
|
||||
if (!utf8Name.Equals(atkObj->name))
|
||||
if (!atkObj->name || !utf8Name.Equals(atkObj->name))
|
||||
atk_object_set_name(atkObj, utf8Name.get());
|
||||
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user