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

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

Issue 10919066: Use BrowserContext as key in API. Switch Autofill to use BC in place of Profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to parent Created 8 years, 3 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/autofill_common_test.cc
diff --git a/chrome/browser/autofill/autofill_common_test.cc b/chrome/browser/autofill/autofill_common_test.cc
index 26e93447c30bdc591c455a8dc7cb3114626e054b..bba7f31480a1d257ea2b3a9f12d734267494a4f4 100644
--- a/chrome/browser/autofill/autofill_common_test.cc
+++ b/chrome/browser/autofill/autofill_common_test.cc
@@ -83,7 +83,7 @@ void DisableSystemServices(Profile* profile) {
// Disable auxiliary profiles for unit testing. These reach out to system
// services on the Mac.
if (profile) {
- PrefServiceBase::ForProfile(profile)->SetBoolean(
+ PrefServiceBase::ForContext(profile)->SetBoolean(
prefs::kAutofillAuxiliaryProfilesEnabled, false);
}
}
« no previous file with comments | « chrome/browser/autofill/autocomplete_history_manager.cc ('k') | chrome/browser/autofill/autofill_download.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698