Index: chrome/browser/sync/profile_sync_components_factory_impl.cc |
diff --git a/chrome/browser/sync/profile_sync_components_factory_impl.cc b/chrome/browser/sync/profile_sync_components_factory_impl.cc |
index 1b927ae07a776ce24932765e20d8cb65ad33190d..8cc64a30c183a361ce6d22ce833b64db7010f5f1 100644 |
--- a/chrome/browser/sync/profile_sync_components_factory_impl.cc |
+++ b/chrome/browser/sync/profile_sync_components_factory_impl.cc |
@@ -185,7 +185,9 @@ void ProfileSyncComponentsFactoryImpl::DisableBrokenType( |
const tracked_objects::Location& from_here, |
const std::string& message) { |
ProfileSyncService* p = ProfileSyncServiceFactory::GetForProfile(profile_); |
- p->DisableDatatype(type, from_here, message); |
+ syncer::SyncError error( |
+ from_here, syncer::SyncError::DATATYPE_ERROR, message, type); |
+ p->DisableDatatype(error); |
} |
DataTypeController::DisableTypeCallback |