| Index: components/sync/model_impl/shared_model_type_processor.cc
|
| diff --git a/components/sync/model_impl/shared_model_type_processor.cc b/components/sync/model_impl/shared_model_type_processor.cc
|
| index d3e9f6f0613652ae7122b636cf20b1e18e937718..c3226ff28d95406fbef837f20ddba6c802695f7f 100644
|
| --- a/components/sync/model_impl/shared_model_type_processor.cc
|
| +++ b/components/sync/model_impl/shared_model_type_processor.cc
|
| @@ -545,6 +545,11 @@ void SharedModelTypeProcessor::OnInitialUpdateReceived(
|
| metadata_changes->UpdateModelTypeState(model_type_state_);
|
|
|
| for (const UpdateResponseData& update : updates) {
|
| + if (update.entity->is_deleted()) {
|
| + DLOG(WARNING) << "Ignoring tombstone found during initial update: "
|
| + << "client_tag_hash = " << update.entity->client_tag_hash;
|
| + continue;
|
| + }
|
| ProcessorEntityTracker* entity = CreateEntity(update.entity.value());
|
| const std::string& storage_key = entity->storage_key();
|
| entity->RecordAcceptedUpdate(update);
|
|
|