commit | a787b435d2a22495d9968aec60b3c0d2032dccdb | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Wed May 02 20:42:16 2012 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Wed May 02 20:42:16 2012 |
tree | f4e114af6c312041cc6468c3befa59fce44bc48b | |
parent | 951bdb1959db46632d8c8d00d2dc76d5f9529bb5 [diff] |
Fixes possible crash in Browser::OpenApplicationTab. The problem is that OpenURL() may swap WebContents (can happen with pre-rendering). If OpenURL did swap the WebContents, and we need to pin the tab then we reset tab_index to -1 and ActivateTabAt crashes. BUG=124689 TEST=none (test scenario is hard to exercise) [email protected] Review URL: https://chromiumcodereview.appspot.com/10313004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134986 0039d316-1c4b-4281-b951-d872f2087c98