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

Issue 7745057: Speculative fix for 93314. I suspect the (Closed)

Created:
9 years, 3 months ago by sky
Modified:
9 years, 3 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews
Visibility:
Public.

Description

Speculative fix for 93314. I suspect the OptionMenuModel::translate_infobar_delegate_ has been deleted. This may be possible if BeforeTranslateInfoBar is deleted while the menu is showing. Changing the code like I'm doing makes sure the menu is deleted if BeforeTranslateInfoBar is deleted too. BUG=93314 TEST=none R=pkasting@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98693

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M chrome/browser/ui/views/infobars/before_translate_infobar.h View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/infobars/before_translate_infobar.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
sky
9 years, 3 months ago (2011-08-29 16:34:23 UTC) #1
Peter Kasting
Rubber-stamp LGTM. How can the infobar be deleted while the menu is running? Maybe if ...
9 years, 3 months ago (2011-08-29 17:39:33 UTC) #2
sky
9 years, 3 months ago (2011-08-29 20:38:15 UTC) #3
On Mon, Aug 29, 2011 at 10:39 AM,  <pkasting@chromium.org> wrote:
> Rubber-stamp LGTM.  How can the infobar be deleted while the menu is
> running?
> Maybe if there was a navigation pending, and while the user interacted with
> the
> infobar the navigation committed?

Exactly, or any other operation that triggered delayed deletion (such
as unload handlers). Will see if this actually fixes it.

  -Scott

Powered by Google App Engine
This is Rietveld 408576698