| Index: chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
| diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.cc b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
| index 2403d65643aaebd64a7bb536902391059bacabe5..58995aad4ffadadb0d74522eed78c474e5190af1 100644
|
| --- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
| +++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
| @@ -779,16 +779,8 @@ Browser* StartupBrowserCreatorImpl::OpenTabsInBrowser(
|
| if (!profile_ && browser)
|
| profile_ = browser->profile();
|
|
|
| - if (!browser || !browser->is_type_tabbed()) {
|
| + if (!browser || !browser->is_type_tabbed())
|
| browser = new Browser(Browser::CreateParams(profile_, desktop_type));
|
| - } else {
|
| -#if defined(TOOLKIT_GTK)
|
| - // Setting the time of the last action on the window here allows us to steal
|
| - // focus, which is what the user wants when opening a new tab in an existing
|
| - // browser window.
|
| - gtk_util::SetWMLastUserActionTime(browser->window()->GetNativeWindow());
|
| -#endif
|
| - }
|
|
|
| bool first_tab = true;
|
| ProtocolHandlerRegistry* registry = profile_ ?
|
|
|