diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-04 15:43:20 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-04 15:43:20 +0000 |
commit | 6ce8ba65f2767fcabec600bf4c0022e0022c16cb (patch) | |
tree | 36921eb1bfb5f90dcb2b9c9d69d5a3064f6fb897 /chrome/browser/process_info_snapshot.h | |
parent | 66edf481b897f0ebc5d0eb6751a02af6b60c30d6 (diff) | |
download | chromium_src-6ce8ba65f2767fcabec600bf4c0022e0022c16cb.zip chromium_src-6ce8ba65f2767fcabec600bf4c0022e0022c16cb.tar.gz chromium_src-6ce8ba65f2767fcabec600bf4c0022e0022c16cb.tar.bz2 |
Mac: fix crashes related to detaching tabs.
There are actually two problems, with two fixes:
- Remove TabStripController as observer when removing a tab. (Otherwise, there's a race condition which can result in a stale observation.)
- Make sure the TabController (and its TabView) aren't deleted while handling a torn-off tab.
BUG=31138
TEST=Attach/re-attach/move/close tabs under a variety of circumstances (see in particular the situation described in the bug). Do so till the cows come home. It should hopefully not crash. (Perhaps also check a debug build, and make sure no assertions fail.)
Review URL: http://codereview.chromium.org/515066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35455 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/process_info_snapshot.h')
0 files changed, 0 insertions, 0 deletions