Index: chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc |
diff --git a/chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc b/chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc |
index 69d9d0525814a9baa6e63f87be609b0bfe38746b..e4d0285447a461dad99a76d5a46a3158fe3aa64b 100644 |
--- a/chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc |
+++ b/chrome/browser/chromeos/policy/device_cloud_policy_store_chromeos_unittest.cc |
@@ -40,8 +40,9 @@ class DeviceCloudPolicyStoreChromeOSTest |
chromeos::STUB_DBUS_CLIENT_IMPLEMENTATION, NULL)), |
install_attributes_(new EnterpriseInstallAttributes( |
cryptohome_library_.get(), stub_cryptohome_client_.get())), |
- store_(new DeviceCloudPolicyStoreChromeOS(&device_settings_service_, |
- install_attributes_.get())) {} |
+ store_(new DeviceCloudPolicyStoreChromeOS( |
+ chromeos::DeviceSettingsService::Get(), |
+ install_attributes_.get())) {} |
virtual void SetUp() OVERRIDE { |
DeviceSettingsTestBase::SetUp(); |
@@ -100,8 +101,8 @@ class DeviceCloudPolicyStoreChromeOSTest |
std::string()); |
install_attributes_.reset(new EnterpriseInstallAttributes( |
cryptohome_library_.get(), stub_cryptohome_client_.get())); |
- store_.reset(new DeviceCloudPolicyStoreChromeOS(&device_settings_service_, |
- install_attributes_.get())); |
+ store_.reset(new DeviceCloudPolicyStoreChromeOS( |
+ chromeos::DeviceSettingsService::Get(), install_attributes_.get())); |
} |
scoped_ptr<chromeos::CryptohomeLibrary> cryptohome_library_; |