| Index: chrome/browser/sync/glue/password_change_processor.cc
|
| diff --git a/chrome/browser/sync/glue/password_change_processor.cc b/chrome/browser/sync/glue/password_change_processor.cc
|
| index 5022542f2db2b9375b836c7c2cd36ac01e220cfb..9aae52d315c0f27619529c35865c6632af848b38 100644
|
| --- a/chrome/browser/sync/glue/password_change_processor.cc
|
| +++ b/chrome/browser/sync/glue/password_change_processor.cc
|
| @@ -197,7 +197,7 @@ void PasswordChangeProcessor::CommitChangesFromSyncModel() {
|
| DCHECK(expected_loop_ == MessageLoop::current());
|
| if (!running())
|
| return;
|
| - StopObserving();
|
| + ScopedStopObserving<PasswordChangeProcessor> stop_observing(this);
|
|
|
| if (!model_associator_->WriteToPasswordStore(&new_passwords_,
|
| &updated_passwords_,
|
| @@ -209,8 +209,6 @@ void PasswordChangeProcessor::CommitChangesFromSyncModel() {
|
| deleted_passwords_.clear();
|
| new_passwords_.clear();
|
| updated_passwords_.clear();
|
| -
|
| - StartObserving();
|
| }
|
|
|
| void PasswordChangeProcessor::StartImpl(Profile* profile) {
|
|
|