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

Unified Diff: chrome/browser/prefs/proxy_policy_unittest.cc

Issue 12315053: Fix prefs registration in SyncPrefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment change. Created 7 years, 10 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/prefs/proxy_policy_unittest.cc
diff --git a/chrome/browser/prefs/proxy_policy_unittest.cc b/chrome/browser/prefs/proxy_policy_unittest.cc
index 88c92d350fc375e7c467cebc903389afa42a1305..03185167954994b60cfdf0522cc8c81c10ca8b49 100644
--- a/chrome/browser/prefs/proxy_policy_unittest.cc
+++ b/chrome/browser/prefs/proxy_policy_unittest.cc
@@ -101,7 +101,7 @@ class ProxyPolicyTest : public testing::Test {
builder.WithManagedPolicies(policy_service_.get());
scoped_refptr<PrefRegistrySyncable> registry(new PrefRegistrySyncable);
PrefServiceSyncable* prefs = builder.CreateSyncable(registry);
- chrome::RegisterUserPrefs(prefs, registry);
+ chrome::RegisterUserPrefs(registry);
return prefs;
}

Powered by Google App Engine
This is Rietveld 408576698