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

Issue 1054113004: Fix crash in ProfileMenuController::validateMenuItem. (Closed)

Created:
5 years, 8 months ago by anthonyvd
Modified:
5 years, 8 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix crash in -[ProfileMenuController validateMenuItem:]. This CL also instruments the function to better understand which edge case triggers the issue in the first place. BUG=471586 Committed: https://crrev.com/8c1b23970f6d8efe9e68f6dfdadbbf7b0e833417 Cr-Commit-Position: refs/heads/master@{#326835}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address review feedback #

Total comments: 8

Patch Set 3 : Clarify histogram enum naming #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -2 lines) Patch
M chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm View 1 2 3 chunks +40 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +36 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
anthonyvd
Hi asvitkine@, could you please take a look at this change? I believe this should ...
5 years, 8 months ago (2015-04-22 15:38:02 UTC) #2
Alexei Svitkine (slow)
https://codereview.chromium.org/1054113004/diff/1/chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm File chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm (right): https://codereview.chromium.org/1054113004/diff/1/chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm#newcode30 chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm:30: enum ValidateMenuItemSelector { Don't indent within namespace. Add a ...
5 years, 8 months ago (2015-04-22 16:55:25 UTC) #3
anthonyvd
https://codereview.chromium.org/1054113004/diff/1/chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm File chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm (right): https://codereview.chromium.org/1054113004/diff/1/chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm#newcode30 chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm:30: enum ValidateMenuItemSelector { On 2015/04/22 16:55:25, Alexei Svitkine wrote: ...
5 years, 8 months ago (2015-04-23 14:49:01 UTC) #4
Alexei Svitkine (slow)
https://codereview.chromium.org/1054113004/diff/20001/chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm File chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm (right): https://codereview.chromium.org/1054113004/diff/20001/chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm#newcode39 chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm:39: } Nit: // namespace Also, put empty lines around ...
5 years, 8 months ago (2015-04-23 15:02:54 UTC) #5
anthonyvd
https://codereview.chromium.org/1054113004/diff/20001/chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm File chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm (right): https://codereview.chromium.org/1054113004/diff/20001/chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm#newcode39 chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm:39: } On 2015/04/23 15:02:54, Alexei Svitkine wrote: > Nit: ...
5 years, 8 months ago (2015-04-23 19:04:57 UTC) #6
Alexei Svitkine (slow)
lgtm
5 years, 8 months ago (2015-04-23 20:47:13 UTC) #7
noms (inactive)
lgtm. The only thing I'd try maybe try to confirm is whether the active profile ...
5 years, 8 months ago (2015-04-23 20:50:38 UTC) #8
anthonyvd
On 2015/04/23 20:50:38, noms (slow. ping if too slow) wrote: > lgtm. > > The ...
5 years, 8 months ago (2015-04-24 14:27:12 UTC) #9
noms (inactive)
On 2015/04/24 14:27:12, anthonyvd wrote: > On 2015/04/23 20:50:38, noms (slow. ping if too slow) ...
5 years, 8 months ago (2015-04-24 16:46:45 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1054113004/40001
5 years, 8 months ago (2015-04-24 17:05:39 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 8 months ago (2015-04-24 18:06:06 UTC) #13
commit-bot: I haz the power
5 years, 8 months ago (2015-04-24 18:07:45 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8c1b23970f6d8efe9e68f6dfdadbbf7b0e833417
Cr-Commit-Position: refs/heads/master@{#326835}

Powered by Google App Engine
This is Rietveld 408576698