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

Issue 8399017: Fix a crash in FullscreenExitBubbleController when the user clicks the "Exit full screen" button. (Closed)

Created:
9 years, 1 month ago by jeremya
Modified:
9 years, 1 month ago
CC:
chromium-reviews
Visibility:
Public.

Description

Fix a crash in FullscreenExitBubbleController when the user clicks the "Exit full screen" button. The crash was due to the fact that Browser::OnDenyFullscreenPermission causes BrowserWindow::ExitFullscreen to be called, which causes the FullscreenExitBubbleController to be destroyed. [FullscreenExitBubbleController deny:] was sending a -hideSoon message to its zombie self following the call to Browser::OnDenyFullscreenPermission. BUG=101835 TEST=The browser doesn't crash when you click "Exit full screen" on a fullscreened page. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107841

Patch Set 1 #

Patch Set 2 : add test #

Total comments: 7

Patch Set 3 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -6 lines) Patch
M chrome/browser/ui/browser.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_controller.mm View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.mm View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller_unittest.mm View 1 2 3 chunks +54 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
jeremya
9 years, 1 month ago (2011-10-26 23:42:05 UTC) #1
Nico
Please add a test, and an explanation why it crashed previously.
9 years, 1 month ago (2011-10-26 23:48:28 UTC) #2
jeremya
On 2011/10/26 23:48:28, Nico wrote: > Please add a test, and an explanation why it ...
9 years, 1 month ago (2011-10-28 04:18:37 UTC) #3
(unused - use chromium)
http://codereview.chromium.org/8399017/diff/3001/chrome/browser/ui/cocoa/browser_window_controller.h File chrome/browser/ui/cocoa/browser_window_controller.h (right): http://codereview.chromium.org/8399017/diff/3001/chrome/browser/ui/cocoa/browser_window_controller.h#newcode465 chrome/browser/ui/cocoa/browser_window_controller.h:465: - (FullscreenExitBubbleController*)fullscreenExitBubbleController; Please put this in a TestingAPI category, ...
9 years, 1 month ago (2011-10-28 04:46:34 UTC) #4
jeremya
http://codereview.chromium.org/8399017/diff/3001/chrome/browser/ui/cocoa/browser_window_controller.h File chrome/browser/ui/cocoa/browser_window_controller.h (right): http://codereview.chromium.org/8399017/diff/3001/chrome/browser/ui/cocoa/browser_window_controller.h#newcode465 chrome/browser/ui/cocoa/browser_window_controller.h:465: - (FullscreenExitBubbleController*)fullscreenExitBubbleController; On 2011/10/28 04:46:34, thakis wrote: > Please ...
9 years, 1 month ago (2011-10-28 06:43:37 UTC) #5
(unused - use chromium)
lgtm
9 years, 1 month ago (2011-10-28 15:13:20 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jeremya@chromium.org/8399017/5006
9 years, 1 month ago (2011-10-28 15:13:27 UTC) #7
Nico
lgtm
9 years, 1 month ago (2011-10-28 15:14:12 UTC) #8
commit-bot: I haz the power
Try job failure for 8399017-5006 on linux_rel for step "update". http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=93 Step "update" is always ...
9 years, 1 month ago (2011-10-28 15:14:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jeremya@chromium.org/8399017/5006
9 years, 1 month ago (2011-10-28 23:14:56 UTC) #10
commit-bot: I haz the power
9 years, 1 month ago (2011-10-29 00:55:04 UTC) #11
Change committed as 107841

Powered by Google App Engine
This is Rietveld 408576698