| Index: chrome/browser/ui/views/frame/browser_view.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/frame/browser_view.cc (revision 102262)
|
| +++ chrome/browser/ui/views/frame/browser_view.cc (working copy)
|
| @@ -852,11 +852,6 @@
|
| }
|
|
|
| void BrowserView::SetFocusToLocationBar(bool select_all) {
|
| - // Only change focus if this is the active window otherwise we'll end
|
| - // accidentally deactivating another window.
|
| - if (!IsActive())
|
| - return;
|
| -
|
| if (UseCompactNavigationBar()) {
|
| // If focus ever goes to the location bar, we should make sure it is shown
|
| // in compact mode. This includes all accelerators that move focus there.
|
|
|