commit | 39f11611199bde9f613f259cec00cb4b72240dd3 | [log] [tgz] |
---|---|---|
author | Henrique Ferreiro <hferreiro@igalia.com> | Mon Feb 11 15:22:04 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Feb 11 15:22:04 2019 |
tree | 7f5aa16ae5707308e5ee38dbd12aee103e82a98b | |
parent | 0867fe7b900c4989d5520b3612dd813e83e0ad33 [diff] |
DCHECK the IdentityManager when local sync is not enabled ProfileSyncService lacked a check on identity_manager_ not being nullptr because that could be the case when local syncing was enabled. Make a proper DCHECK by also verifying whether local sync is enabled. Change-Id: I7d48ad2be17d06c4285473e245e7c44092c4fb68 Reviewed-on: https://chromium-review.googlesource.com/c/1424801 Commit-Queue: Henrique Ferreiro <hferreiro@igalia.com> Reviewed-by: Sylvain Defresne <sdefresne@chromium.org> Reviewed-by: Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#630762}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .