| Index: ios/chrome/browser/ui/authentication/re_signin_infobar_delegate_unittest.mm
|
| diff --git a/ios/chrome/browser/ui/authentication/re_signin_infobar_delegate_unittest.mm b/ios/chrome/browser/ui/authentication/re_signin_infobar_delegate_unittest.mm
|
| index 7550ff4c76704bfd59840b46caba262b638ddf3e..680ad56229446dd7dbb8a44332cc09463208728b 100644
|
| --- a/ios/chrome/browser/ui/authentication/re_signin_infobar_delegate_unittest.mm
|
| +++ b/ios/chrome/browser/ui/authentication/re_signin_infobar_delegate_unittest.mm
|
| @@ -6,7 +6,7 @@
|
|
|
| #include <memory>
|
|
|
| -#include "base/mac/objc_property_releaser.h"
|
| +#include "base/mac/objc_release_properties.h"
|
| #include "base/mac/scoped_nsobject.h"
|
| #include "base/memory/ptr_util.h"
|
| #include "components/sync_preferences/testing_pref_service_syncable.h"
|
| @@ -25,9 +25,7 @@
|
| #include "testing/platform_test.h"
|
|
|
| // View that intercepts and stores chrome commands sent up the responder chain.
|
| -@interface CatchExecuteCommandView : UIView {
|
| - base::mac::ObjCPropertyReleaser propertyReleaser_CatchExecuteCommandView_;
|
| -}
|
| +@interface CatchExecuteCommandView : UIView
|
| // Command sent up the responder chain and intercepted by this view.
|
| @property(nonatomic, retain) id command;
|
| @end
|
| @@ -36,13 +34,9 @@
|
|
|
| @synthesize command = _command;
|
|
|
| -- (instancetype)initWithFrame:(CGRect)frame {
|
| - self = [super initWithFrame:frame];
|
| - if (self) {
|
| - propertyReleaser_CatchExecuteCommandView_.Init(
|
| - self, [CatchExecuteCommandView class]);
|
| - }
|
| - return self;
|
| +- (void)dealloc {
|
| + base::mac::ReleaseProperties(self);
|
| + [super dealloc];
|
| }
|
|
|
| - (void)chromeExecuteCommand:(id)command {
|
|
|