Index: ui/accessibility/platform/ax_platform_node_win.cc |
diff --git a/ui/accessibility/platform/ax_platform_node_win.cc b/ui/accessibility/platform/ax_platform_node_win.cc |
index 2845822fcce5a925c14e097f06ea5a8ec4a5a2ca..239a2a654102795923ac6b6dff0d13067e187c96 100644 |
--- a/ui/accessibility/platform/ax_platform_node_win.cc |
+++ b/ui/accessibility/platform/ax_platform_node_win.cc |
@@ -484,6 +484,7 @@ STDMETHODIMP AXPlatformNodeWin::get_accName( |
*name = SysAllocString(str.c_str()); |
DCHECK(*name); |
} |
+ |
return result; |
} |
@@ -1207,9 +1208,6 @@ HRESULT AXPlatformNodeWin::GetStringAttributeAsBstr( |
if (!GetString16Attribute(attribute, &str)) |
return S_FALSE; |
- if (str.empty()) |
- return S_FALSE; |
- |
*value_bstr = SysAllocString(str.c_str()); |
DCHECK(*value_bstr); |