Index: chrome/browser/policy/cloud_policy_core_unittest.cc |
diff --git a/chrome/browser/policy/cloud_policy_core_unittest.cc b/chrome/browser/policy/cloud_policy_core_unittest.cc |
index 16f6386cbe161884730e0311a2db3d67a30fe802..18db1b36064b63f984856be95123b8a2d57558ea 100644 |
--- a/chrome/browser/policy/cloud_policy_core_unittest.cc |
+++ b/chrome/browser/policy/cloud_policy_core_unittest.cc |
@@ -23,7 +23,7 @@ class CloudPolicyCoreTest : public testing::Test { |
: core_(PolicyNamespaceKey(dm_protocol::kChromeUserPolicyType, |
std::string()), |
&store_) { |
- chrome::RegisterLocalState(&prefs_); |
+ chrome::RegisterLocalState(prefs_.registry(), &prefs_); |
} |
MessageLoop loop_; |