diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-03 21:23:44 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-03 21:23:44 +0000 |
commit | df8c6cd3672638ef2562fcce2a637042b2b404ec (patch) | |
tree | 9a7a676fb87a146a0004564cdb428ff774504cd4 | |
parent | b7564c1b011a4a2aedd21af53577bf049c44ecfc (diff) | |
download | chromium_src-df8c6cd3672638ef2562fcce2a637042b2b404ec.zip chromium_src-df8c6cd3672638ef2562fcce2a637042b2b404ec.tar.gz chromium_src-df8c6cd3672638ef2562fcce2a637042b2b404ec.tar.bz2 |
Fix a regression where tabs.create() would focus the tab's window even if
selected is false.
BUG=42531
Review URL: http://codereview.chromium.org/2483003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48872 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/extensions/extension_tabs_module.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_tabs_module.cc b/chrome/browser/extensions/extension_tabs_module.cc index 30531a8..71a8753 100644 --- a/chrome/browser/extensions/extension_tabs_module.cc +++ b/chrome/browser/extensions/extension_tabs_module.cc @@ -574,7 +574,6 @@ bool CreateTabFunction::RunImpl() { TabContents* contents = browser->AddTabWithURL(url, GURL(), PageTransition::LINK, index, add_types, NULL, std::string()); index = tab_strip->GetIndexOfTabContents(contents); - browser->window()->Show(); if (selected) contents->Focus(); |