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

Issue 1397001: Fix crasher in LocationBarViewMac::PageActionImageView::OnImageLoaded.... (Closed)

Created:
10 years, 9 months ago by Miranda Callahan
Modified:
9 years, 7 months ago
CC:
chromium-reviews, John Grabowski, pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Fix crasher in LocationBarViewMac::PageActionImageView::OnImageLoaded. Scott's insight in comment 18 on the bug report was correct; fixed by relinquishing control on call to UpdatePageActions, so that we don't try to look at the private variables of a dying this ptr. BUG=35864 TEST= no crash. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=42764

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -3 lines) Patch
M chrome/browser/cocoa/location_bar_view_mac.mm View 1 2 2 chunks +1 line, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Miranda Callahan
10 years, 9 months ago (2010-03-26 00:09:31 UTC) #1
Scott Hess - ex-Googler
http://codereview.chromium.org/1397001/diff/3001/4002 File chrome/browser/cocoa/location_bar_view_mac.mm (right): http://codereview.chromium.org/1397001/diff/3001/4002#newcode184 chrome/browser/cocoa/location_bar_view_mac.mm:184: [field_ display]; As I just suggested, maybe just [field_ ...
10 years, 9 months ago (2010-03-26 00:29:57 UTC) #2
Miranda Callahan
Works great, clean and simple. http://codereview.chromium.org/1397001/diff/3001/4002 File chrome/browser/cocoa/location_bar_view_mac.mm (right): http://codereview.chromium.org/1397001/diff/3001/4002#newcode184 chrome/browser/cocoa/location_bar_view_mac.mm:184: [field_ display]; On 2010/03/26 ...
10 years, 9 months ago (2010-03-26 00:39:17 UTC) #3
Scott Hess - ex-Googler
10 years, 9 months ago (2010-03-26 00:41:21 UTC) #4
LGTM!

Powered by Google App Engine
This is Rietveld 408576698