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

Issue 11369253: Fix crash when programatically closing media gallery dialog (Closed)

Created:
8 years, 1 month ago by sail
Modified:
8 years, 1 month ago
Reviewers:
Ben, Avi (use Gerrit)
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Fix crash when programatically closing media gallery dialog If the media gallery dialog was closed by something other than clicking "Cancel" or "Ok" then Chrome would crash. The problem was that a bug in the way that I was closing the dialog. I was doing endSheet:alert when I should be doing endSheet:[alert window]. BUG=156537 TBR=ben@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167819

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -4 lines) Patch
M chrome/browser/media_gallery/media_galleries_dialog_controller.h View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/media_gallery/media_galleries_dialog_controller.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/media_gallery/media_galleries_dialog_controller_mock.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.mm View 2 chunks +3 lines, -1 line 0 comments Download
A chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa_browsertest.mm View 1 chunk +48 lines, -0 lines 1 comment Download
M chrome/chrome_tests.gypi View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
sail
+avi for cocoa/* +estade for media_gallery/*
8 years, 1 month ago (2012-11-14 21:07:56 UTC) #1
Avi (use Gerrit)
Tests are awesome. lgtm! https://codereview.chromium.org/11369253/diff/1/chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa_browsertest.mm File chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa_browsertest.mm (right): https://codereview.chromium.org/11369253/diff/1/chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa_browsertest.mm#newcode25 chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa_browsertest.mm:25: IN_PROC_BROWSER_TEST_F(MediaGalleriesDialogBrowserTest, Close) { Whoooooo!
8 years, 1 month ago (2012-11-14 21:17:41 UTC) #2
Evan Stade
lgtm
8 years, 1 month ago (2012-11-14 21:58:47 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/11369253/1
8 years, 1 month ago (2012-11-14 22:04:02 UTC) #4
commit-bot: I haz the power
Presubmit check for 11369253-1 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 1 month ago (2012-11-14 22:04:23 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/11369253/1
8 years, 1 month ago (2012-11-14 22:06:28 UTC) #6
commit-bot: I haz the power
Retried try job too often for step(s) content_unittests
8 years, 1 month ago (2012-11-15 00:29:27 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/11369253/1
8 years, 1 month ago (2012-11-15 00:37:57 UTC) #8
commit-bot: I haz the power
8 years, 1 month ago (2012-11-15 01:52:23 UTC) #9
Change committed as 167819

Powered by Google App Engine
This is Rietveld 408576698