Index: chrome/browser/policy/device_cloud_policy_manager_chromeos_unittest.cc |
diff --git a/chrome/browser/policy/device_cloud_policy_manager_chromeos_unittest.cc b/chrome/browser/policy/device_cloud_policy_manager_chromeos_unittest.cc |
index c2299b806869f1eb1a75b664ae00e4a08a6e1d4f..cc932a7418ac51ffc0fc03e271b0cb513b8dd610 100644 |
--- a/chrome/browser/policy/device_cloud_policy_manager_chromeos_unittest.cc |
+++ b/chrome/browser/policy/device_cloud_policy_manager_chromeos_unittest.cc |
@@ -17,6 +17,7 @@ |
#include "chrome/browser/policy/proto/chrome_device_policy.pb.h" |
#include "chrome/browser/policy/proto/device_management_backend.pb.h" |
#include "chrome/browser/prefs/browser_prefs.h" |
+#include "chrome/browser/prefs/pref_registry_simple.h" |
#include "chrome/test/base/testing_pref_service.h" |
#include "policy/policy_constants.h" |
#include "testing/gmock/include/gmock/gmock.h" |
@@ -46,7 +47,7 @@ class DeviceCloudPolicyManagerChromeOSTest |
virtual void SetUp() OVERRIDE { |
DeviceSettingsTestBase::SetUp(); |
- chrome::RegisterLocalState(&local_state_); |
+ chrome::RegisterLocalState(local_state_.registry(), &local_state_); |
manager_.Init(); |
} |