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

Unified Diff: chrome/browser/autofill/autofill_browsertest.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/autofill/autofill_browsertest.cc
diff --git a/chrome/browser/autofill/autofill_browsertest.cc b/chrome/browser/autofill/autofill_browsertest.cc
index 7274ed22ca3ecd3b7176754eb59435957e008332..7008fdbcd3c20d7f25dc3a59ea7a31738ab1fce5 100644
--- a/chrome/browser/autofill/autofill_browsertest.cc
+++ b/chrome/browser/autofill/autofill_browsertest.cc
@@ -123,7 +123,7 @@ class AutofillTest : public InProcessBrowserTest {
virtual void SetUpOnMainThread() OVERRIDE {
// Don't want Keychain coming up on Mac.
- test::DisableSystemServices(browser()->profile());
+ test::DisableSystemServices(browser()->profile()->GetPrefs());
}
virtual void CleanUpOnMainThread() OVERRIDE {

Powered by Google App Engine
This is Rietveld 408576698