| Index: components/sync/driver/glue/sync_backend_host_impl.cc
|
| diff --git a/components/sync/driver/glue/sync_backend_host_impl.cc b/components/sync/driver/glue/sync_backend_host_impl.cc
|
| index b125c4482823f753def6fe15a43af09cb18650f1..eb7891408434eb61a60192f58004b96640b7417f 100644
|
| --- a/components/sync/driver/glue/sync_backend_host_impl.cc
|
| +++ b/components/sync/driver/glue/sync_backend_host_impl.cc
|
| @@ -284,6 +284,10 @@ ModelTypeSet SyncBackendHostImpl::ConfigureDataTypes(
|
| ModelTypeSet types_to_purge = Difference(ModelTypeSet::All(), current_types);
|
| ModelTypeSet inactive_types =
|
| GetDataTypesInState(CONFIGURE_INACTIVE, config_state_map);
|
| + // Include clean_first_types in types_to_purge, they are part of
|
| + // current_types, but still need to be cleared.
|
| + DCHECK(current_types.HasAll(clean_first_types));
|
| + types_to_purge.PutAll(clean_first_types);
|
| types_to_purge.RemoveAll(inactive_types);
|
| types_to_purge.RemoveAll(unready_types);
|
|
|
|
|