Index: chrome/browser/sync/glue/app_data_type_controller.cc |
diff --git a/chrome/browser/sync/glue/app_data_type_controller.cc b/chrome/browser/sync/glue/app_data_type_controller.cc |
index cf025f68ba41f12bc031285d35d607591b8575d1..5be7863261204f406b06bfa3c4fcd13a859a39af 100644 |
--- a/chrome/browser/sync/glue/app_data_type_controller.cc |
+++ b/chrome/browser/sync/glue/app_data_type_controller.cc |
@@ -35,9 +35,8 @@ void AppDataTypeController::CreateSyncComponents() { |
ProfileSyncFactory::SyncComponents sync_components = |
profile_sync_factory_->CreateAppSyncComponents(sync_service_, |
this); |
- model_associator_.reset(sync_components.model_associator); |
- change_processor_.reset(sync_components.change_processor); |
-} |
+ set_model_associator(sync_components.model_associator); |
+ set_change_processor(sync_components.change_processor);} |
void AppDataTypeController::RecordUnrecoverableError( |
const tracked_objects::Location& from_here, |