Index: components/autofill/core/browser/webdata/autofill_webdata_service.cc |
diff --git a/components/autofill/core/browser/webdata/autofill_webdata_service.cc b/components/autofill/core/browser/webdata/autofill_webdata_service.cc |
index 651249261cf94ab3f88eec70b7c88d0d2614dc73..3e90e627ea50beac512aa7f3eaa8513c4bab8c8f 100644 |
--- a/components/autofill/core/browser/webdata/autofill_webdata_service.cc |
+++ b/components/autofill/core/browser/webdata/autofill_webdata_service.cc |
@@ -274,7 +274,8 @@ base::SupportsUserData* AutofillWebDataService::GetDBUserData() { |
void AutofillWebDataService::GetAutofillBackend( |
const base::Callback<void(AutofillWebDataBackend*)>& callback) { |
- db_thread_->PostTask(FROM_HERE, base::Bind(callback, autofill_backend_)); |
+ db_thread_->PostTask( |
+ FROM_HERE, base::Bind(callback, base::RetainedRef(autofill_backend_))); |
} |
AutofillWebDataService::~AutofillWebDataService() { |