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

Issue 339096: Keep track of when file dialogs are destroyed. (Closed)

Created:
11 years, 1 month ago by Lei Zhang
Modified:
9 years, 7 months ago
Reviewers:
Evan Stade
CC:
chromium-reviews_googlegroups.com, ben+cc_chromium.org
Visibility:
Public.

Description

Keep track of when file dialogs are destroyed. BUG=none TEST=Open two windows, open a file dialog in one, quit the browser in other. There should not be any GTK assertion errors.

Patch Set 1 : '' #

Total comments: 4

Patch Set 2 : '' #

Total comments: 6

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -14 lines) Patch
M chrome/browser/gtk/dialogs_gtk.cc View 1 2 9 chunks +23 lines, -14 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Lei Zhang
More GTK objects getting destroyed twice...
11 years, 1 month ago (2009-10-31 05:31:44 UTC) #1
Evan Stade
http://codereview.chromium.org/339096/diff/5001/5002 File chrome/browser/gtk/dialogs_gtk.cc (right): http://codereview.chromium.org/339096/diff/5001/5002#newcode175 Line 175: skip_file_dialog_destroyed_ = true; is this necessary, or just ...
11 years, 1 month ago (2009-11-02 18:03:29 UTC) #2
Lei Zhang
http://codereview.chromium.org/339096/diff/5001/5002 File chrome/browser/gtk/dialogs_gtk.cc (right): http://codereview.chromium.org/339096/diff/5001/5002#newcode175 Line 175: skip_file_dialog_destroyed_ = true; On 2009/11/02 18:03:29, Evan Stade ...
11 years, 1 month ago (2009-11-02 18:31:19 UTC) #3
Evan Stade
http://codereview.chromium.org/339096/diff/5001/5002 File chrome/browser/gtk/dialogs_gtk.cc (right): http://codereview.chromium.org/339096/diff/5001/5002#newcode175 Line 175: skip_file_dialog_destroyed_ = true; On 2009/11/02 18:31:20, Lei Zhang ...
11 years, 1 month ago (2009-11-02 18:35:25 UTC) #4
Lei Zhang
http://codereview.chromium.org/339096/diff/5001/5002 File chrome/browser/gtk/dialogs_gtk.cc (right): http://codereview.chromium.org/339096/diff/5001/5002#newcode175 Line 175: skip_file_dialog_destroyed_ = true; On 2009/11/02 18:35:25, Evan Stade ...
11 years, 1 month ago (2009-11-03 00:56:51 UTC) #5
Evan Stade
lg, nits http://codereview.chromium.org/339096/diff/10001/10002 File chrome/browser/gtk/dialogs_gtk.cc (right): http://codereview.chromium.org/339096/diff/10001/10002#newcode172 Line 172: iter = dialogs_.begin(); can get rid ...
11 years, 1 month ago (2009-11-03 20:46:21 UTC) #6
Lei Zhang
11 years, 1 month ago (2009-11-03 22:44:50 UTC) #7
http://codereview.chromium.org/339096/diff/10001/10002
File chrome/browser/gtk/dialogs_gtk.cc (right):

http://codereview.chromium.org/339096/diff/10001/10002#newcode172
Line 172: iter = dialogs_.begin();
On 2009/11/03 20:46:21, Evan Stade wrote:
> can get rid of the |iter| variable altogether?

Done.

http://codereview.chromium.org/339096/diff/10001/10002#newcode458
Line 458: if (!parent)
On 2009/11/03 20:46:21, Evan Stade wrote:
> can you put a comment since it's not obvious why parent could be null

Done.

Powered by Google App Engine
This is Rietveld 408576698