summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/profile_sync_service.cc
diff options
context:
space:
mode:
authorzork@chromium.org <zork@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-05 20:47:19 +0000
committerzork@chromium.org <zork@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-05 20:47:19 +0000
commit2539acbc3e92658bd4a6178896de85650e18860b (patch)
tree0774bc1d6a84cb17bc1bf9acba3cc46fbdb01e1e /chrome/browser/sync/profile_sync_service.cc
parent02380f9e1ba8422abe655dee2218671b21a0a909 (diff)
downloadchromium_src-2539acbc3e92658bd4a6178896de85650e18860b.zip
chromium_src-2539acbc3e92658bd4a6178896de85650e18860b.tar.gz
chromium_src-2539acbc3e92658bd4a6178896de85650e18860b.tar.bz2
Remove DeleteOnIOThread from Datatype controller to fix Valgrind and remove the suppression
BUG=37168 TEST=Run Valgrind Review URL: http://codereview.chromium.org/661428 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40774 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/profile_sync_service.cc')
-rw-r--r--chrome/browser/sync/profile_sync_service.cc6
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() {