| Index: chrome/browser/sync/glue/ui_data_type_controller.cc
|
| diff --git a/chrome/browser/sync/glue/ui_data_type_controller.cc b/chrome/browser/sync/glue/ui_data_type_controller.cc
|
| index bbd840ae51a175df225155a1b03cf579d219a65f..b1274423aa7a8e3d00ba02bac3a4546e8b82dbd1 100644
|
| --- a/chrome/browser/sync/glue/ui_data_type_controller.cc
|
| +++ b/chrome/browser/sync/glue/ui_data_type_controller.cc
|
| @@ -66,13 +66,10 @@ void UIDataTypeController::LoadModels(
|
| type()));
|
| return;
|
| }
|
| -
|
| // Since we can't be called multiple times before Stop() is called,
|
| // |shared_change_processor_| must be NULL here.
|
| DCHECK(!shared_change_processor_.get());
|
| - shared_change_processor_ =
|
| - profile_sync_factory_->CreateSharedChangeProcessor();
|
| - DCHECK(shared_change_processor_.get());
|
| + shared_change_processor_ = new SharedChangeProcessor();
|
|
|
| model_load_callback_ = model_load_callback;
|
| state_ = MODEL_STARTING;
|
|
|