Index: chrome/browser/chromeos/policy/affiliated_cloud_policy_invalidator_unittest.cc |
diff --git a/chrome/browser/chromeos/policy/affiliated_cloud_policy_invalidator_unittest.cc b/chrome/browser/chromeos/policy/affiliated_cloud_policy_invalidator_unittest.cc |
index 5800d8410a5c9d00dc848650fb2597ff8c82e97e..274c1245d467a9fc63b874427b79b3c01d6af3a8 100644 |
--- a/chrome/browser/chromeos/policy/affiliated_cloud_policy_invalidator_unittest.cc |
+++ b/chrome/browser/chromeos/policy/affiliated_cloud_policy_invalidator_unittest.cc |
@@ -84,7 +84,7 @@ TEST(AffiliatedCloudPolicyInvalidatorTest, CreateUseDestroy) { |
// Connect |core|. Expect it to send a registration request. Let the |
// registration succeed. |
- scoped_ptr<MockCloudPolicyClient> policy_client_owner( |
+ std::unique_ptr<MockCloudPolicyClient> policy_client_owner( |
new MockCloudPolicyClient); |
MockCloudPolicyClient* policy_client = policy_client_owner.get(); |
EXPECT_CALL(*policy_client, SetupRegistration("token", "device-id")) |