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

Unified Diff: chrome/browser/password_manager/password_generation_interactive_uitest.cc

Issue 180953004: Componentize several Autofill unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Response to review 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/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 =

Powered by Google App Engine
This is Rietveld 408576698