Index: chrome/browser/sync/glue/search_engine_data_type_controller.cc |
diff --git a/chrome/browser/sync/glue/search_engine_data_type_controller.cc b/chrome/browser/sync/glue/search_engine_data_type_controller.cc |
index 7e434c9e87a0913c20b802787ac49f2aa3ceaece..963fb422e9834d3d68612df40eea8bdaa7b3f98d 100644 |
--- a/chrome/browser/sync/glue/search_engine_data_type_controller.cc |
+++ b/chrome/browser/sync/glue/search_engine_data_type_controller.cc |
@@ -70,7 +70,12 @@ void SearchEngineDataTypeController::CreateSyncComponents() { |
profile_sync_factory_->CreateSearchEngineSyncComponents(sync_service_, |
this); |
set_model_associator(sync_components.model_associator); |
- set_change_processor(sync_components.change_processor); |
+ change_processor_.reset(reinterpret_cast<GenericChangeProcessor*>( |
+ sync_components.change_processor)); |
+} |
+ |
+ChangeProcessor* SearchEngineDataTypeController::change_processor() const { |
+ return change_processor_.get(); |
} |
void SearchEngineDataTypeController::RecordUnrecoverableError( |