| Index: chrome/browser/browsing_data/browsing_data_remover.cc
|
| diff --git a/chrome/browser/browsing_data/browsing_data_remover.cc b/chrome/browser/browsing_data/browsing_data_remover.cc
|
| index 52bb028a19846567e4ef6c9ed3034ee2604129ae..8c8ba8795369b656c5553f596d5667c82c166279 100644
|
| --- a/chrome/browser/browsing_data/browsing_data_remover.cc
|
| +++ b/chrome/browser/browsing_data/browsing_data_remover.cc
|
| @@ -48,6 +48,7 @@
|
| #include "chrome/browser/sessions/session_service_factory.h"
|
| #include "chrome/browser/sessions/tab_restore_service.h"
|
| #include "chrome/browser/sessions/tab_restore_service_factory.h"
|
| +#include "chrome/browser/webdata/web_data_service_factory.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/url_constants.h"
|
| #if defined(OS_CHROMEOS)
|
| @@ -352,7 +353,7 @@ void BrowsingDataRemover::RemoveImpl(int remove_mask,
|
| // which these profiles and credit cards were learned. These are a form of
|
| // history, so clear them as well.
|
| scoped_refptr<autofill::AutofillWebDataService> web_data_service =
|
| - autofill::AutofillWebDataService::FromBrowserContext(profile_);
|
| + WebDataServiceFactory::GetAutofillWebDataForProfile(profile_);
|
| if (web_data_service.get()) {
|
| waiting_for_clear_autofill_origin_urls_ = true;
|
| web_data_service->RemoveOriginURLsModifiedBetween(
|
| @@ -493,7 +494,7 @@ void BrowsingDataRemover::RemoveImpl(int remove_mask,
|
| if (remove_mask & REMOVE_FORM_DATA) {
|
| content::RecordAction(UserMetricsAction("ClearBrowsingData_Autofill"));
|
| scoped_refptr<autofill::AutofillWebDataService> web_data_service =
|
| - autofill::AutofillWebDataService::FromBrowserContext(profile_);
|
| + WebDataServiceFactory::GetAutofillWebDataForProfile(profile_);
|
|
|
| if (web_data_service.get()) {
|
| waiting_for_clear_form_ = true;
|
|
|