| 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 a3e5b6144d1da24c90353f655b2a9d03accea2e3..878e91d0a476844d806dc0ed4692714c35ef7293 100644
|
| --- a/chrome/browser/sync/glue/ui_data_type_controller.cc
|
| +++ b/chrome/browser/sync/glue/ui_data_type_controller.cc
|
| @@ -130,7 +130,7 @@ void UIDataTypeController::Associate() {
|
| this,
|
| type(),
|
| weak_ptr_factory.GetWeakPtr());
|
| - if (!local_service_) {
|
| + if (!local_service_.get()) {
|
| syncer::SyncError error(FROM_HERE, "Failed to connect to syncer.", type());
|
| local_merge_result.set_error(error);
|
| StartDone(UNRECOVERABLE_ERROR,
|
| @@ -270,7 +270,7 @@ void UIDataTypeController::Stop() {
|
|
|
| sync_service_->DeactivateDataType(type());
|
|
|
| - if (local_service_) {
|
| + if (local_service_.get()) {
|
| local_service_->StopSyncing(type());
|
| }
|
|
|
|
|