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 3150039: Merge 57399 - Try to fix top crasher.... (Closed)

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

Description

Merge 57399 - Try to fix top crasher. The problem is timing related so I am unable to write a unit test which proves this fixes things. The essence of the change is to make sure we don't send messages to objects which no longer exist by clearing the delegate pointer in objects we own before we go away (where "we" is an object). The delegate pattern does not get retained, which gives certain objects to hold dangling pointers. BUG=53205 http://crbug.com/53205 Review URL: http://codereview.chromium.org/3158031 TBR=jrg@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57427

Patch Set 1 #

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

Messages

Total messages: 1 (0 generated)
John Grabowski
10 years, 4 months ago (2010-08-26 00:06:54 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698