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

Issue 211027: Change BrowserBubble to use Close instead of CloseNow. This should make (Closed)

Created:
11 years, 3 months ago by Erik does not do reviews
Modified:
9 years, 7 months ago
Reviewers:
sky
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Change BrowserBubble to use Close instead of CloseNow. This should make it less susceptible to crashes in certain use cases. Remove a delay in destroying the widget that was added to work around the old crash. BUG=18248 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26625

Patch Set 1 #

Patch Set 2 : gtk #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -11 lines) Patch
M chrome/browser/views/browser_bubble.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/views/browser_bubble.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/views/browser_bubble_gtk.cc View 1 chunk +0 lines, -1 line 1 comment Download
M chrome/browser/views/browser_bubble_win.cc View 3 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/views/extensions/extension_shelf.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Erik does not do reviews
11 years, 3 months ago (2009-09-18 17:43:29 UTC) #1
sky
You need to change browser_bubble_gtk too. Once you do that, LGTM.
11 years, 3 months ago (2009-09-18 18:29:15 UTC) #2
Erik does not do reviews
good catch thanks. fixed. On Fri, Sep 18, 2009 at 11:29 AM, <sky@chromium.org> wrote: > ...
11 years, 3 months ago (2009-09-18 18:40:10 UTC) #3
sky
http://codereview.chromium.org/211027/diff/4001/3004 File chrome/browser/views/browser_bubble_gtk.cc (right): http://codereview.chromium.org/211027/diff/4001/3004#newcode29 Line 29: views::WidgetGtk* pop = static_cast<views::WidgetGtk*>(popup_.get()); Don't forget to change ...
11 years, 3 months ago (2009-09-18 19:16:31 UTC) #4
Erik does not do reviews
11 years, 3 months ago (2009-09-18 20:18:00 UTC) #5
I'm stumped.  Somehow this compiled on the trybot.  I have no clue how
that's possible.

Thanks for saving me a revert.

Erik


On Fri, Sep 18, 2009 at 12:16 PM,  <sky@chromium.org> wrote:
>
> http://codereview.chromium.org/211027/diff/4001/3004
> File chrome/browser/views/browser_bubble_gtk.cc (right):
>
> http://codereview.chromium.org/211027/diff/4001/3004#newcode29
> Line 29: views::WidgetGtk* pop =
> static_cast<views::WidgetGtk*>(popup_.get());
> Don't forget to change the popup_.get() calls too.
>
> http://codereview.chromium.org/211027
>

Powered by Google App Engine
This is Rietveld 408576698