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

Issue 8205017: Fix crash when reloading extension with more than one panel open. (Closed)

Created:
9 years, 2 months ago by jennb
Modified:
9 years, 2 months ago
Reviewers:
Dmitry Titov
CC:
chromium-reviews, jennb, jianli, dcheng, prasadt
Visibility:
Public.

Description

Fix crash when reloading extension with more than one panel open. BUG=None TEST=Open an extension that opens 2 or more panels. Reload the extension. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=104732

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -5 lines) Patch
M chrome/browser/ui/panels/panel_window_controller_cocoa.mm View 3 chunks +12 lines, -5 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
jennb
The crash was occurring because the panel manager was rearranging the remaining panel after removing ...
9 years, 2 months ago (2011-10-07 23:39:25 UTC) #1
Dmitry Titov
9 years, 2 months ago (2011-10-08 00:01:56 UTC) #2
LGTM

Looks like this might be a simpler fix then figuring out the right moment for
removing the window from PanelManager. It seems PanelManager should operate
freely on windows w/o even knowing that some internals like tabContents is
functional or not... It might be actually the right fix. 

WebKit, for example, has tons of null checks like that everywhere.

Powered by Google App Engine
This is Rietveld 408576698