| Index: ui/views/focus/focus_manager.cc
|
| diff --git a/ui/views/focus/focus_manager.cc b/ui/views/focus/focus_manager.cc
|
| index db632061392cc8a2df3dbe82a8d0ce635e6970ef..df35147706e107c2d6eac98d7045a7bd89b30788 100644
|
| --- a/ui/views/focus/focus_manager.cc
|
| +++ b/ui/views/focus/focus_manager.cc
|
| @@ -478,7 +478,7 @@ void FocusManager::ViewRemoved(View* removed) {
|
| // clear the focus. However, it's not safe to call ClearFocus()
|
| // (and in turn ClearNativeFocus()) here because ViewRemoved() can
|
| // be called while the top level widget is being destroyed.
|
| - if (focused_view_ && removed && removed->Contains(focused_view_))
|
| + if (focused_view_ && removed->Contains(focused_view_))
|
| SetFocusedView(NULL);
|
| }
|
|
|
|
|