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

Issue 132048: Don't crash when reusing a bookmark context menu. (Closed)

Created:
11 years, 6 months ago by Evan Stade
Modified:
9 years, 6 months ago
Reviewers:
sky
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google)
Visibility:
Public.

Description

Rebuild the bookmark context menu from scratch when selection changes. Since the "remove" item always causes selection to change, we don't have to worry about trying to call remove twice with the same context menu. TEST=see bug. Also, no new crashes on linux. BUG=14443 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=18951

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -26 lines) Patch
M chrome/browser/bookmarks/bookmark_context_menu.h View 1 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/gtk/bookmark_manager_gtk.h View 3 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/gtk/bookmark_manager_gtk.cc View 9 chunks +43 lines, -20 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Evan Stade
what was the original purpose of the RemoveModelObserver() call?
11 years, 6 months ago (2009-06-18 23:57:02 UTC) #1
sky
http://codereview.chromium.org/132048/diff/1/2 File chrome/browser/bookmarks/bookmark_context_menu.cc (left): http://codereview.chromium.org/132048/diff/1/2#oldcode352 Line 352: BookmarkModel* model = RemoveModelObserver(); The reason I did ...
11 years, 6 months ago (2009-06-19 00:12:25 UTC) #2
Evan Stade
I am reusing it because I think it's really hard and unnatural in gtk to ...
11 years, 6 months ago (2009-06-19 00:26:20 UTC) #3
sky
On 2009/06/19 00:26:20, Evan Stade wrote: > I am reusing it because I think it's ...
11 years, 6 months ago (2009-06-19 03:43:37 UTC) #4
Evan Stade
On 2009/06/19 03:43:37, sky wrote: > On 2009/06/19 00:26:20, Evan Stade wrote: > > I ...
11 years, 6 months ago (2009-06-22 16:54:10 UTC) #5
sky
11 years, 6 months ago (2009-06-22 20:30:07 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698