| Index: ios/chrome/browser/ui/stack_view/card_view.mm
|
| diff --git a/ios/chrome/browser/ui/stack_view/card_view.mm b/ios/chrome/browser/ui/stack_view/card_view.mm
|
| index 62a810a524db666daa48ad36ee382e73dcb09c0b..0ca24d4c40d7edd9d0520efe319fe27cd32f2a07 100644
|
| --- a/ios/chrome/browser/ui/stack_view/card_view.mm
|
| +++ b/ios/chrome/browser/ui/stack_view/card_view.mm
|
| @@ -26,7 +26,7 @@
|
| #include <algorithm>
|
|
|
| #import "base/mac/foundation_util.h"
|
| -#include "base/mac/objc_release_properties.h"
|
| +#import "base/mac/objc_property_releaser.h"
|
| #import "base/mac/scoped_nsobject.h"
|
| #include "components/strings/grit/components_strings.h"
|
| #import "ios/chrome/browser/ui/animation_util.h"
|
| @@ -124,7 +124,9 @@
|
|
|
| @end
|
|
|
| -@implementation CardTabView
|
| +@implementation CardTabView {
|
| + base::mac::ObjCPropertyReleaser _propertyReleaser_CardTabView;
|
| +}
|
|
|
| #pragma mark - Property Implementation
|
|
|
| @@ -144,6 +146,7 @@
|
| if (!self)
|
| return self;
|
|
|
| + _propertyReleaser_CardTabView.Init(self, [CardTabView class]);
|
| _isIncognito = isIncognito;
|
|
|
| UIImage* image = ImageWithName(@"default_favicon", _isIncognito);
|
| @@ -173,11 +176,6 @@
|
| - (instancetype)initWithCoder:(NSCoder*)aDecoder {
|
| NOTREACHED();
|
| return nil;
|
| -}
|
| -
|
| -- (void)dealloc {
|
| - base::mac::ReleaseProperties(self);
|
| - [super dealloc];
|
| }
|
|
|
| - (void)setCloseButtonSide:(CardCloseButtonSide)closeButtonSide {
|
|
|