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

Issue 319006: [Mac] Fix keyword editor-related crashes (Closed)

Created:
11 years, 2 months ago by Scott Hess - ex-Googler
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

[Mac] Fix keyword editor-related crashes * Adjust the edit buttons after adding a new keyword. * Don't make NSPointerArray calls which cause exceptions. Patch from rsesek@chromium.org http://codereview.chromium.org/262028 BUG=23350, 22545 TEST=Preferences-->Manage. Add a search engine. Click "Make Default", delete it ("-)". Crash. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=29910

Patch Set 1 #

Patch Set 2 : Address Scott's nits. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -17 lines) Patch
M chrome/browser/cocoa/keyword_editor_cocoa_controller.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/cocoa/keyword_editor_cocoa_controller.mm View 1 4 chunks +28 lines, -13 lines 4 comments Download

Messages

Total messages: 10 (0 generated)
Scott Hess - ex-Googler
Patched over from other CL due to laptop-hit-by-bus clause. First I patched it directly over, ...
11 years, 2 months ago (2009-10-22 20:28:57 UTC) #1
Scott Hess - ex-Googler
[Sorry, I'm positive I added pink, but when I looked again he wasn't there...]
11 years, 2 months ago (2009-10-22 22:08:29 UTC) #2
Scott Hess - ex-Googler
ping.
11 years, 2 months ago (2009-10-23 13:24:34 UTC) #3
pink (ping after 24hrs)
lgtm with questions http://codereview.chromium.org/319006/diff/2001/3002 File chrome/browser/cocoa/keyword_editor_cocoa_controller.mm (right): http://codereview.chromium.org/319006/diff/2001/3002#newcode67 Line 67: DCHECK_LE(start + length, static_cast<int>([iconImages_ count])); ...
11 years, 2 months ago (2009-10-23 14:11:00 UTC) #4
Scott Hess - ex-Googler
http://codereview.chromium.org/319006/diff/2001/3002 File chrome/browser/cocoa/keyword_editor_cocoa_controller.mm (right): http://codereview.chromium.org/319006/diff/2001/3002#newcode67 Line 67: DCHECK_LE(start + length, static_cast<int>([iconImages_ count])); On 2009/10/23 14:11:00, ...
11 years, 2 months ago (2009-10-23 14:24:28 UTC) #5
Mark Mentovai
Oh! C++ standard library header bug! Pick me! Pick me! We can use @try, but ...
11 years, 2 months ago (2009-10-23 14:43:18 UTC) #6
Scott Hess - ex-Googler
I believe that we should leave the repository of "How to catch NSExceptions" entirely w/in ...
11 years, 2 months ago (2009-10-23 16:20:52 UTC) #7
pink (ping after 24hrs)
We're already using @try/@catch in certain areas, which is why I asked the question. I'm ...
11 years, 2 months ago (2009-10-23 16:46:57 UTC) #8
Robert Sesek
LGTM. Thanks for taking this over, and sorry for the delay.
11 years, 2 months ago (2009-10-23 18:07:01 UTC) #9
Scott Hess - ex-Googler
11 years, 2 months ago (2009-10-23 18:27:18 UTC) #10
In it goes!  Hope your mac gets better :-).

On Fri, Oct 23, 2009 at 11:07 AM,  <rsesek@chromium.org> wrote:
> LGTM. Thanks for taking this over, and sorry for the delay.
>
> http://codereview.chromium.org/319006
>

Powered by Google App Engine
This is Rietveld 408576698