Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(419)

Unified Diff: chrome/browser/webdata/web_data_service_factory.cc

Issue 16290004: Update chrome/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/usb/usb_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/webdata/web_data_service_factory.cc
diff --git a/chrome/browser/webdata/web_data_service_factory.cc b/chrome/browser/webdata/web_data_service_factory.cc
index 396a22bbb571c282ad79760056bc9fcb8aa963c7..2d855693bb0a30fb05b7861fb28f51fe0ecd8016 100644
--- a/chrome/browser/webdata/web_data_service_factory.cc
+++ b/chrome/browser/webdata/web_data_service_factory.cc
@@ -50,15 +50,15 @@ void InitSyncableServicesOnDBThread(
// Currently only Autocomplete and Autofill profiles use the new Sync API, but
// all the database data should migrate to this API over time.
AutocompleteSyncableService::CreateForWebDataServiceAndBackend(
- autofill_web_data, autofill_backend);
- AutocompleteSyncableService::FromWebDataService(
- autofill_web_data)->InjectStartSyncFlare(
- sync_start_util::GetFlareForSyncableService(profile_path));
+ autofill_web_data.get(), autofill_backend);
+ AutocompleteSyncableService::FromWebDataService(autofill_web_data.get())
+ ->InjectStartSyncFlare(
+ sync_start_util::GetFlareForSyncableService(profile_path));
AutofillProfileSyncableService::CreateForWebDataServiceAndBackend(
- autofill_web_data, autofill_backend, app_locale);
- AutofillProfileSyncableService::FromWebDataService(
- autofill_web_data)->InjectStartSyncFlare(
- sync_start_util::GetFlareForSyncableService(profile_path));
+ autofill_web_data.get(), autofill_backend, app_locale);
+ AutofillProfileSyncableService::FromWebDataService(autofill_web_data.get())
+ ->InjectStartSyncFlare(
+ sync_start_util::GetFlareForSyncableService(profile_path));
}
} // namespace
« no previous file with comments | « chrome/browser/usb/usb_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698