Index: chrome/browser/password_manager/password_generation_interactive_uitest.cc |
diff --git a/chrome/browser/password_manager/password_generation_interactive_uitest.cc b/chrome/browser/password_manager/password_generation_interactive_uitest.cc |
index 2741caaa1161d127024a28680111fe5e0f8de809..064c288a2c719465641b1a67a912bb018da6bb80 100644 |
--- a/chrome/browser/password_manager/password_generation_interactive_uitest.cc |
+++ b/chrome/browser/password_manager/password_generation_interactive_uitest.cc |
@@ -62,7 +62,7 @@ class PasswordGenerationInteractiveTest : public InProcessBrowserTest { |
virtual void SetUpOnMainThread() OVERRIDE { |
// Disable Autofill requesting access to AddressBook data. This will cause |
// the tests to hang on Mac. |
- autofill::test::DisableSystemServices(browser()->profile()); |
+ autofill::test::DisableSystemServices(browser()->profile()->GetPrefs()); |
// Set observer for popup. |
ChromePasswordManagerClient* client = |