| Index: ios/chrome/browser/signin/authentication_service_unittest.mm
|
| diff --git a/ios/chrome/browser/signin/authentication_service_unittest.mm b/ios/chrome/browser/signin/authentication_service_unittest.mm
|
| index 4e11cd2c9b9a2f5003e9613e4b1c9f534e0e656e..d1077d1bb69e07ad87962607dd9204cd4d53e737 100644
|
| --- a/ios/chrome/browser/signin/authentication_service_unittest.mm
|
| +++ b/ios/chrome/browser/signin/authentication_service_unittest.mm
|
| @@ -46,6 +46,10 @@
|
| #include "testing/platform_test.h"
|
| #import "third_party/ocmock/OCMock/OCMock.h"
|
|
|
| +#if !defined(__has_feature) || !__has_feature(objc_arc)
|
| +#error "This file requires ARC support."
|
| +#endif
|
| +
|
| using testing::_;
|
| using testing::Invoke;
|
| using testing::Return;
|
| @@ -197,7 +201,7 @@ class AuthenticationServiceTest : public PlatformTest,
|
| void SetCachedMDMInfo(ChromeIdentity* identity, NSDictionary* user_info) {
|
| authentication_service_
|
| ->cached_mdm_infos_[base::SysNSStringToUTF8([identity gaiaID])]
|
| - .reset([user_info retain]);
|
| + .reset(user_info);
|
| }
|
|
|
| bool HasCachedMDMInfo(ChromeIdentity* identity) {
|
|
|