Index: chrome/browser/sync/profile_sync_factory_impl.cc |
diff --git a/chrome/browser/sync/profile_sync_factory_impl.cc b/chrome/browser/sync/profile_sync_factory_impl.cc |
index 5f093e3810f03e83b86e558008482afa11f262e8..f38c9ba9b26d08a23250e614bbd1d88232c273cb 100644 |
--- a/chrome/browser/sync/profile_sync_factory_impl.cc |
+++ b/chrome/browser/sync/profile_sync_factory_impl.cc |
@@ -51,7 +51,6 @@ using browser_sync::AutofillChangeProcessor; |
using browser_sync::AutofillDataTypeController; |
using browser_sync::AutofillProfileDataTypeController; |
using browser_sync::AutofillModelAssociator; |
-using browser_sync::AutofillProfileSyncableService; |
using browser_sync::BookmarkChangeProcessor; |
using browser_sync::BookmarkDataTypeController; |
using browser_sync::BookmarkModelAssociator; |
@@ -223,7 +222,7 @@ ProfileSyncFactoryImpl::CreateAutofillProfileSyncComponents( |
WebDataService* web_data_service, |
browser_sync::UnrecoverableErrorHandler* error_handler) { |
AutofillProfileSyncableService* sync_service = |
- new AutofillProfileSyncableService(web_data_service); |
+ web_data_service->GetAutofillProfileSyncableService(); |
sync_api::UserShare* user_share = profile_sync_service->GetUserShare(); |
GenericChangeProcessor* change_processor = |
new GenericChangeProcessor(sync_service, error_handler, user_share); |