summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/external_tab_container.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/external_tab_container.cc b/chrome/browser/external_tab_container.cc
index 5e4a78e..e89de09 100644
--- a/chrome/browser/external_tab_container.cc
+++ b/chrome/browser/external_tab_container.cc
@@ -386,6 +386,7 @@ void ExternalTabContainer::ProcessUnhandledAccelerator(const MSG& msg) {
void ExternalTabContainer::SetInitialFocus(bool reverse) {
DCHECK(tab_contents_);
if (tab_contents_) {
+ static_cast<TabContents*>(tab_contents_)->Focus();
static_cast<TabContents*>(tab_contents_)->SetInitialFocus(reverse);
}
}