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

Unified Diff: chrome/browser/ui/webui/bidi_checker_web_ui_test.cc

Issue 180953004: Componentize several Autofill unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable system services Created 6 years, 9 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/ui/webui/bidi_checker_web_ui_test.cc
diff --git a/chrome/browser/ui/webui/bidi_checker_web_ui_test.cc b/chrome/browser/ui/webui/bidi_checker_web_ui_test.cc
index 07888f69bb6b386049345912d4cbd806638e7942..fb4e08401d2f19ec35984d1d0b7706cec80f664d 100644
--- a/chrome/browser/ui/webui/bidi_checker_web_ui_test.cc
+++ b/chrome/browser/ui/webui/bidi_checker_web_ui_test.cc
@@ -265,7 +265,7 @@ static void SetupSettingsAutofillPageTest(Profile* profile,
const char* zipcode,
const char* country,
const char* phone) {
- autofill::test::DisableSystemServices(profile);
+ autofill::test::DisableSystemServices(profile->GetPrefs());
AutofillProfile autofill_profile;
autofill::test::SetProfileInfo(&autofill_profile,
first_name,

Powered by Google App Engine
This is Rietveld 408576698