Commit ba7379d
Sky Malice
[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.
[email protected]
(cherry picked from commit 2aa9702)
Bug: 748384
Change-Id: Iafeffee0d9bb77b5d539b72992b085d1833015ee
Reviewed-on: https://chromium-review.googlesource.com/584554
Reviewed-by: Patrick Noland <[email protected]>
Commit-Queue: Patrick Noland <[email protected]>
Commit-Queue: Sky Malice <[email protected]>
Cr-Original-Commit-Position: refs/heads/master@{#489385}
Reviewed-on: https://chromium-review.googlesource.com/587830
Reviewed-by: Sky Malice <[email protected]>
Cr-Commit-Position: refs/branch-heads/3163@{#68}
Cr-Branched-From: ff259ba-refs/heads/master@{#488528}1 parent ad74fc6 commit ba7379d
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
126 | 131 | | |
127 | 132 | | |
128 | 133 | | |
| |||
0 commit comments