|
|
Chromium Code Reviews|
Created:
4 years, 4 months ago by Justin Donnelly Modified:
4 years, 4 months ago Reviewers:
groby-ooo-7-16 CC:
chromium-reviews, rouslan+autofill_chromium.org, estade+watch_chromium.org, vabr+watchlistautofill_chromium.org, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionFix crash bug in save card bubble on Mac.
BUG=633254
Committed: https://crrev.com/627ae2df06b9e080a0b34d16a54a0d4d7cab57da
Cr-Commit-Position: refs/heads/master@{#411409}
Patch Set 1 #
Total comments: 2
Messages
Total messages: 20 (12 generated)
The CQ bit was checked by jdonnelly@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
Patchset #1 (id:1) has been deleted
The CQ bit was checked by jdonnelly@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
jdonnelly@chromium.org changed reviewers: + groby@chromium.org
https://codereview.chromium.org/2227743003/diff/20001/chrome/browser/ui/cocoa... File chrome/browser/ui/cocoa/autofill/save_card_bubble_view_bridge.mm (right): https://codereview.chromium.org/2227743003/diff/20001/chrome/browser/ui/cocoa... chrome/browser/ui/cocoa/autofill/save_card_bubble_view_bridge.mm:101: void SaveCardBubbleViewBridge::Hide() { That means Hide() can be called several times? How does that happen, and could that be an issue on Views as well?
https://codereview.chromium.org/2227743003/diff/20001/chrome/browser/ui/cocoa... File chrome/browser/ui/cocoa/autofill/save_card_bubble_view_bridge.mm (right): https://codereview.chromium.org/2227743003/diff/20001/chrome/browser/ui/cocoa... chrome/browser/ui/cocoa/autofill/save_card_bubble_view_bridge.mm:101: void SaveCardBubbleViewBridge::Hide() { On 2016/08/10 19:49:35, groby wrote: > That means Hide() can be called several times? How does that happen, and could > that be an issue on Views as well? Well, to be honest, I can't say that I 100% understand what's going on with this crash. That said, Hide is called from several locations here and in the controller. They're designed to result in only one invocation but the sequence of events is complicated. My hypothesis is that the controller is being deleted concurrently with a navigation. Both of these call Hide. As for Views, it has a different lifecycle. But it has similar defensive checks on controller_: https://cs.chromium.org/chromium/src/chrome/browser/ui/views/autofill/save_ca...
LGTM (Grumbly so. I hate it when we have bugs where we patch the symptom instead of the root cause, but I still prefer not crashing)
On 2016/08/11 17:53:34, groby wrote: > LGTM Thanks. > (Grumbly so. I hate it when we have bugs where we patch the symptom instead of > the root cause, but I still prefer not crashing) I do not disagree.
The CQ bit was checked by jdonnelly@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #1 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== Fix crash bug in save card bubble on Mac. BUG=633254 ========== to ========== Fix crash bug in save card bubble on Mac. BUG=633254 Committed: https://crrev.com/627ae2df06b9e080a0b34d16a54a0d4d7cab57da Cr-Commit-Position: refs/heads/master@{#411409} ==========
Message was sent while issue was closed.
Patchset 1 (id:??) landed as https://crrev.com/627ae2df06b9e080a0b34d16a54a0d4d7cab57da Cr-Commit-Position: refs/heads/master@{#411409} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
