| 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 d4f0d804f108661025c9c9fbfff3f4100de3f145..a3e5b6144d1da24c90353f655b2a9d03accea2e3 100644
|
| --- a/chrome/browser/sync/glue/ui_data_type_controller.cc
|
| +++ b/chrome/browser/sync/glue/ui_data_type_controller.cc
|
| @@ -201,7 +201,7 @@ void UIDataTypeController::AbortModelLoad() {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| state_ = NOT_RUNNING;
|
|
|
| - if (shared_change_processor_) {
|
| + if (shared_change_processor_.get()) {
|
| shared_change_processor_ = NULL;
|
| }
|
|
|
| @@ -230,7 +230,7 @@ void UIDataTypeController::StartDone(
|
| }
|
| RecordStartFailure(start_result);
|
|
|
| - if (shared_change_processor_) {
|
| + if (shared_change_processor_.get()) {
|
| shared_change_processor_->Disconnect();
|
| shared_change_processor_ = NULL;
|
| }
|
| @@ -251,7 +251,7 @@ void UIDataTypeController::Stop() {
|
| State prev_state = state_;
|
| state_ = STOPPING;
|
|
|
| - if (shared_change_processor_) {
|
| + if (shared_change_processor_.get()) {
|
| shared_change_processor_->Disconnect();
|
| shared_change_processor_ = NULL;
|
| }
|
|
|