diff --git a/components/sync/user_events/user_event_sync_bridge.cc b/components/sync/user_events/user_event_sync_bridge.cc index fe469ccad9457f..892bd2065e4d3c 100644 --- a/components/sync/user_events/user_event_sync_bridge.cc +++ b/components/sync/user_events/user_event_sync_bridge.cc @@ -149,6 +149,11 @@ void UserEventSyncBridge::DisableSync() { void UserEventSyncBridge::RecordUserEvent( std::unique_ptr specifics) { + // TODO(skym): Remove this when ModelTypeStore synchronously returns a + // partially initialized reference, see crbug.com/709094. + if (!store_) { + return; + } std::string storage_key = GetStorageKeyFromSpecifics(*specifics); // There are two scenarios we need to guard against here. First, the given