Index: chrome/browser/ui/views/frame/browser_view.cc |
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc |
index dbbbf9d35ab21ec39b0899054bbea1eea7964971..c952ef1c4d76fcc9b651eb2ece81ae6c09d12a30 100644 |
--- a/chrome/browser/ui/views/frame/browser_view.cc |
+++ b/chrome/browser/ui/views/frame/browser_view.cc |
@@ -852,11 +852,6 @@ LocationBar* BrowserView::GetLocationBar() const { |
} |
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. |