| Index: ios/chrome/browser/ui/omnibox/omnibox_popup_material_row.mm
|
| diff --git a/ios/chrome/browser/ui/omnibox/omnibox_popup_material_row.mm b/ios/chrome/browser/ui/omnibox/omnibox_popup_material_row.mm
|
| index 71f2f216c1bd58017ed22cf9515b6cd31083135d..c8dba117abd7f41fc5ffa27e232549cd626ad326 100644
|
| --- a/ios/chrome/browser/ui/omnibox/omnibox_popup_material_row.mm
|
| +++ b/ios/chrome/browser/ui/omnibox/omnibox_popup_material_row.mm
|
| @@ -5,7 +5,7 @@
|
| #import "ios/chrome/browser/ui/omnibox/omnibox_popup_material_row.h"
|
|
|
| #include "base/logging.h"
|
| -#include "base/mac/objc_property_releaser.h"
|
| +#include "base/mac/objc_release_properties.h"
|
| #import "ios/chrome/browser/ui/omnibox/truncating_attributed_label.h"
|
| #include "ios/chrome/browser/ui/rtl_geometry.h"
|
| #include "ios/chrome/browser/ui/ui_util.h"
|
| @@ -21,7 +21,6 @@ const CGFloat kAppendButtonTrailingMargin = 4;
|
|
|
| @interface OmniboxPopupMaterialRow () {
|
| BOOL _incognito;
|
| - base::mac::ObjCPropertyReleaser _propertyReleaser_OmniboxPopupMaterialRow;
|
| }
|
|
|
| // Set the append button normal and highlighted images.
|
| @@ -51,9 +50,6 @@ const CGFloat kAppendButtonTrailingMargin = 4;
|
| self.isAccessibilityElement = YES;
|
| self.backgroundColor = [UIColor clearColor];
|
| _incognito = incognito;
|
| - _propertyReleaser_OmniboxPopupMaterialRow.Init(
|
| - self, [OmniboxPopupMaterialRow class]);
|
| -
|
| _textTruncatingLabel =
|
| [[OmniboxPopupTruncatingLabel alloc] initWithFrame:CGRectZero];
|
| _textTruncatingLabel.autoresizingMask = UIViewAutoresizingFlexibleWidth;
|
| @@ -97,6 +93,11 @@ const CGFloat kAppendButtonTrailingMargin = 4;
|
| return self;
|
| }
|
|
|
| +- (void)dealloc {
|
| + base::mac::ReleaseProperties(self);
|
| + [super dealloc];
|
| +}
|
| +
|
| - (void)layoutSubviews {
|
| [super layoutSubviews];
|
| [self layoutAccessoryViews];
|
|
|