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

Unified Diff: chrome/browser/autofill/autocheckout_whitelist_manager_factory.cc

Issue 14141006: [components] Switch {RefCounted}ProfileKeyedService to use BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots 2 Created 7 years, 8 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
Index: chrome/browser/autofill/autocheckout_whitelist_manager_factory.cc
diff --git a/chrome/browser/autofill/autocheckout_whitelist_manager_factory.cc b/chrome/browser/autofill/autocheckout_whitelist_manager_factory.cc
index a3a6ee084243b4c566e73d904aadef36e8383047..3024606a10aab6de9060ad072a808d9ebe9f21e5 100644
--- a/chrome/browser/autofill/autocheckout_whitelist_manager_factory.cc
+++ b/chrome/browser/autofill/autocheckout_whitelist_manager_factory.cc
@@ -71,9 +71,9 @@ WhitelistManagerFactory::~WhitelistManagerFactory() {
ProfileKeyedService*
WhitelistManagerFactory::BuildServiceInstanceFor(
- Profile* profile) const {
+ content::BrowserContext* profile) const {
WhitelistManagerService* service =
- new WhitelistManagerServiceImpl(profile);
+ new WhitelistManagerServiceImpl(static_cast<Profile*>(profile));
return service;
}

Powered by Google App Engine
This is Rietveld 408576698