Index: chrome/browser/webdata/web_data_service.cc |
diff --git a/chrome/browser/webdata/web_data_service.cc b/chrome/browser/webdata/web_data_service.cc |
index d99fa739d9c8814e89d0151f395ddade8af0d7d6..d5ecd0f7356166c8c37a2b8ed30cdab7299d03b3 100644 |
--- a/chrome/browser/webdata/web_data_service.cc |
+++ b/chrome/browser/webdata/web_data_service.cc |
@@ -1039,6 +1039,7 @@ void WebDataService::UpdateAutoFillProfileGUIDImpl( |
// the caller will detect this on the next refresh. |
AutoFillProfile* original_profile = NULL; |
if (!db_->GetAutoFillProfileForGUID(profile.guid(), &original_profile)) { |
+ request->RequestComplete(); |
return; |
} |
scoped_ptr<AutoFillProfile> scoped_profile(original_profile); |
@@ -1157,6 +1158,7 @@ void WebDataService::UpdateCreditCardGUIDImpl( |
// the write and the caller will detect this on the next refresh. |
CreditCard* original_credit_card = NULL; |
if (!db_->GetCreditCardForGUID(credit_card.guid(), &original_credit_card)) { |
+ request->RequestComplete(); |
return; |
} |
scoped_ptr<CreditCard> scoped_credit_card(original_credit_card); |