| 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 747c55910a92c0106289f17ebc465236491d8fb8..f182fb131cd64d921af9f48b07ac980ee27077e1 100644
|
| --- a/chrome/browser/sync/glue/password_change_processor.cc
|
| +++ b/chrome/browser/sync/glue/password_change_processor.cc
|
| @@ -221,9 +221,11 @@ void PasswordChangeProcessor::CommitChangesFromSyncModel() {
|
| return;
|
| ScopedStopObserving<PasswordChangeProcessor> stop_observing(this);
|
|
|
| - if (!model_associator_->WriteToPasswordStore(&new_passwords_,
|
| - &updated_passwords_,
|
| - &deleted_passwords_)) {
|
| + SyncError error = model_associator_->WriteToPasswordStore(
|
| + &new_passwords_,
|
| + &updated_passwords_,
|
| + &deleted_passwords_);
|
| + if (error.IsSet()) {
|
| error_handler()->OnSingleDatatypeUnrecoverableError(FROM_HERE,
|
| "Error writing passwords");
|
| return;
|
|
|