| Index: ui/wm/core/focus_controller.cc
|
| diff --git a/ui/wm/core/focus_controller.cc b/ui/wm/core/focus_controller.cc
|
| index 66c6deb65fc3f31477c174a7417da1fe15af3a53..722f6c893f9d1e811af21783fcd70a187e96e231 100644
|
| --- a/ui/wm/core/focus_controller.cc
|
| +++ b/ui/wm/core/focus_controller.cc
|
| @@ -108,13 +108,6 @@ void FocusController::FocusWindow(aura::Window* window) {
|
| return;
|
| }
|
|
|
| - // We should not be messing with the focus if the window has capture, unless
|
| - // no has focus.
|
| - if (window && (aura::client::GetCaptureWindow(window) == window) &&
|
| - focused_window_) {
|
| - return;
|
| - }
|
| -
|
| // Focusing a window also activates its containing activatable window. Note
|
| // that the rules could redirect activation activation and/or focus.
|
| aura::Window* focusable = rules_->GetFocusableWindow(window);
|
|
|