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

Issue 7792014: Fixes crash in Browser::Observe. We can end up here during creation of (Closed)

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

Description

Fixes crash in Browser::Observe. We can end up here during creation of the window, at which point window_ is NULL. This can happen because SHAppBarMessage runs a nested message loop pumping events. I suspect the right fix is to not invoke SHAppBarMessage, but that'll have to be done separately. BUG=94614 TEST=none R=ben@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98839

Patch Set 1 #

Patch Set 2 : Comment tweaks #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M chrome/browser/ui/browser.cc View 1 1 chunk +3 lines, -1 line 1 comment Download

Messages

Total messages: 2 (0 generated)
sky
9 years, 3 months ago (2011-08-29 21:17:05 UTC) #1
Ben Goodger (Google)
9 years, 3 months ago (2011-08-30 17:19:49 UTC) #2
LGTM

http://codereview.chromium.org/7792014/diff/2001/chrome/browser/ui/browser.cc
File chrome/browser/ui/browser.cc (right):

http://codereview.chromium.org/7792014/diff/2001/chrome/browser/ui/browser.cc...
chrome/browser/ui/browser.cc:3931: // NULL.
Add the rest of your CL comment here about SHAppBarMessage.

Powered by Google App Engine
This is Rietveld 408576698