Chromium Code Reviews| Index: ui/views/accessibility/native_view_accessibility.cc |
| diff --git a/ui/views/accessibility/native_view_accessibility.cc b/ui/views/accessibility/native_view_accessibility.cc |
| index 1d5c11a415de6507e384cb15a305141282dbc192..533f51ce5c9c36a297f68c6d40916a557f7cb5b4 100644 |
| --- a/ui/views/accessibility/native_view_accessibility.cc |
| +++ b/ui/views/accessibility/native_view_accessibility.cc |
| @@ -255,7 +255,7 @@ void NativeViewAccessibility::PopulateChildWidgetVector( |
| return; |
| std::set<Widget*> child_widgets; |
| - Widget::GetAllOwnedWidgets(widget->GetNativeView(), &child_widgets); |
| + Widget::GetAllOwnedWidgets(widget->GetNativeView(), &child_widgets, false); |
|
tapted
2017/01/25 11:23:03
I don't think the concept of "ownership" here exte
sky
2017/01/25 16:41:24
It's my understanding GetAllOwnedWidget is only ca
tapted
2017/01/27 05:34:55
Yes - it forms part of http://crbug.com/654151 (ad
tapted
2017/01/30 10:33:04
/* snip */
In case this pops in your queue first,
|
| for (auto iter = child_widgets.begin(); iter != child_widgets.end(); ++iter) { |
| Widget* child_widget = *iter; |
| DCHECK_NE(widget, child_widget); |