Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Issue 9733023: Fix crash in TabContentsViewViews::Focus. This was caused by r125126. The subtle bug is that the Sa… (Closed)

Created:
8 years, 9 months ago by jam
Modified:
8 years, 9 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews
Visibility:
Public.

Description

Fix crash in TabContentsViewViews::Focus. This was caused by r125126. The subtle bug is that the SadTabHelper's Observe function use to reset TabContentsViewView's Widget pointer before it deleted the sad tab Widget. With my change, TabContentsViewWin would call SadTabHelper in the middle of its sad_tab_.reset() call and would use a Widget that's being destructed. BUG=117668 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=127686

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M chrome/browser/ui/sad_tab_helper.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
jam
8 years, 9 months ago (2012-03-20 00:25:02 UTC) #1
Avi (use Gerrit)
8 years, 9 months ago (2012-03-20 03:19:48 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698