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

Issue 2854303003: Don't crash when having an update from an unknown identity (Closed)

Created:
3 years, 7 months ago by jlebel
Modified:
3 years, 7 months ago
Reviewers:
lpromero
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't crash when having an update from an unknown identity In SyncSettingsCollectionViewController, the identity collection view might not have been reloaded yet when identity updates arrive. Those event has to be ignored to avoid crashes. BUG=715590 Review-Url: https://codereview.chromium.org/2854303003 Cr-Commit-Position: refs/heads/master@{#468948} Committed: https://chromium.googlesource.com/chromium/src/+/6dc8282045f5410911dffc071ff3c506d1c45c1b

Patch Set 1 #

Total comments: 2

Patch Set 2 : :( #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M ios/chrome/browser/ui/settings/sync_settings_collection_view_controller.mm View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
jlebel
Hello Louis, Can you review this small patch? Thanks,
3 years, 7 months ago (2017-05-03 09:58:23 UTC) #3
lpromero
https://codereview.chromium.org/2854303003/diff/20001/ios/chrome/browser/ui/settings/sync_settings_collection_view_controller.mm File ios/chrome/browser/ui/settings/sync_settings_collection_view_controller.mm (right): https://codereview.chromium.org/2854303003/diff/20001/ios/chrome/browser/ui/settings/sync_settings_collection_view_controller.mm#newcode967 ios/chrome/browser/ui/settings/sync_settings_collection_view_controller.mm:967: if (item) { Isn't it "if (!item)"? Please also ...
3 years, 7 months ago (2017-05-03 10:05:57 UTC) #4
jlebel
Sorry about that. https://codereview.chromium.org/2854303003/diff/20001/ios/chrome/browser/ui/settings/sync_settings_collection_view_controller.mm File ios/chrome/browser/ui/settings/sync_settings_collection_view_controller.mm (right): https://codereview.chromium.org/2854303003/diff/20001/ios/chrome/browser/ui/settings/sync_settings_collection_view_controller.mm#newcode967 ios/chrome/browser/ui/settings/sync_settings_collection_view_controller.mm:967: if (item) { On 2017/05/03 10:05:57, ...
3 years, 7 months ago (2017-05-03 11:05:01 UTC) #6
lpromero
lgtm
3 years, 7 months ago (2017-05-03 12:07:11 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2854303003/40001
3 years, 7 months ago (2017-05-03 12:27:34 UTC) #9
commit-bot: I haz the power
3 years, 7 months ago (2017-05-03 12:39:33 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/6dc8282045f5410911dffc071ff3...

Powered by Google App Engine
This is Rietveld 408576698