diff options
Diffstat (limited to 'chrome/browser/sync/profile_sync_service.cc')
-rw-r--r-- | chrome/browser/sync/profile_sync_service.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc index bffb833..60da90d 100644 --- a/chrome/browser/sync/profile_sync_service.cc +++ b/chrome/browser/sync/profile_sync_service.cc @@ -56,11 +56,6 @@ ProfileSyncService::ProfileSyncService(ProfileSyncFactory* factory, ProfileSyncService::~ProfileSyncService() { Shutdown(false); - for (DataTypeController::TypeMap::iterator ix = - data_type_controllers_.begin(); - ix != data_type_controllers_.end(); ++ix) { - ix->second->Release(); - } } void ProfileSyncService::Initialize() { @@ -90,7 +85,6 @@ void ProfileSyncService::RegisterDataTypeController( DCHECK(data_type_controllers_.count(data_type_controller->type()) == 0); data_type_controllers_[data_type_controller->type()] = data_type_controller; - data_type_controller->AddRef(); } void ProfileSyncService::InitSettings() { |