diff options
-rw-r--r-- | chrome/browser/bookmarks/bookmark_utils.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/bookmarks/bookmark_utils.cc b/chrome/browser/bookmarks/bookmark_utils.cc index ec96ce0..7d985ff 100644 --- a/chrome/browser/bookmarks/bookmark_utils.cc +++ b/chrome/browser/bookmarks/bookmark_utils.cc @@ -216,10 +216,12 @@ void OpenAll(HWND parent, if (!navigator) { Browser* browser = BrowserList::FindBrowserWithType(profile, BrowserType::TABBED_BROWSER); - if (!browser || !browser->GetSelectedTabContents()) + if (!browser || !browser->GetSelectedTabContents()) { navigator = &navigator_impl; - else + } else { + browser->window()->Activate(); navigator = browser->GetSelectedTabContents(); + } } bool opened_url = false; |