Chromium Code Reviews| Index: ui/views/controls/native/native_view_host.cc |
| diff --git a/ui/views/controls/native/native_view_host.cc b/ui/views/controls/native/native_view_host.cc |
| index d706fc3dc4a8c4ebd8e1d6b0b86828aa4625aa86..2de8b13f4f314a48194a9fd20abfa8a6d0cfa3f7 100644 |
| --- a/ui/views/controls/native/native_view_host.cc |
| +++ b/ui/views/controls/native/native_view_host.cc |
| @@ -212,7 +212,7 @@ void NativeViewHost::ClearFocus() { |
| return; |
| Widget::Widgets widgets; |
| - Widget::GetAllChildWidgets(native_view(), &widgets); |
| + Widget::GetAllChildAndOwnedWidgets(native_view(), &widgets); |
|
sky
2014/10/23 02:29:18
GAH! Sorry, didn't realize these other windows don
|
| for (Widget::Widgets::iterator i = widgets.begin(); i != widgets.end(); ++i) { |
| focus_manager->ViewRemoved((*i)->GetRootView()); |
| if (!focus_manager->GetFocusedView()) |