Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Sync] No-op RecordUserEvent is ModelTypeStore has not initialized.
If RecordUserEvent happened before the ModelTypeStore initialized, we would deref null and cause a crash. The other usages of store_ are driven by sync, which shouldn't call into us until we tell sync that we're ready, so they should not need an null check. This fix is ultimately a hack, and can be removed once crbug.com/709094 is done. Bug: 748384 Change-Id: Iafeffee0d9bb77b5d539b72992b085d1833015ee Reviewed-on: https://chromium-review.googlesource.com/584554 Reviewed-by: Patrick Noland <pnoland@chromium.org> Commit-Queue: Patrick Noland <pnoland@chromium.org> Commit-Queue: Sky Malice <skym@chromium.org> Cr-Commit-Position: refs/heads/master@{#489385}
- Loading branch information