commit | a3421eb19e57ae294514ac37fe0bd7a8c2e38d98 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Nov 20 13:47:09 2012 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Nov 20 13:47:09 2012 |
tree | 2b64f88c45e6d59bc3ba3aab66adb908e1a13599 | |
parent | 18038f84277d7b2340869e7104c50f8abf26533b [diff] [blame] |
Don't add an extension tab twice when it has an associated tab contents This was deleted by accident in https://chromiumcodereview.appspot.com/10868116/ BUG=161854 [email protected] Review URL: https://chromiumcodereview.appspot.com/11348150 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168798 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc index 7d64bbfa..8ef2f92c 100644 --- a/chrome/browser/extensions/extension_host.cc +++ b/chrome/browser/extensions/extension_host.cc
@@ -626,6 +626,7 @@ delegate->AddNewContents( associated_contents, new_contents, disposition, initial_pos, user_gesture, was_blocked); + return; } } }