| Index: chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm
|
| diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm
|
| index 449e4f0075a8d94eb51fde4ff1e3fae1b46de0f8..53e92aecf3ccf5d8cfd32adde5eb0dd5deaadf7d 100644
|
| --- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm
|
| +++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm
|
| @@ -11,7 +11,7 @@
|
|
|
| #include "base/i18n/rtl.h"
|
| #include "base/mac/foundation_util.h"
|
| -#include "base/mac/objc_property_releaser.h"
|
| +#include "base/mac/objc_release_properties.h"
|
| #include "base/mac/scoped_nsobject.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/string_util.h"
|
| @@ -343,11 +343,6 @@ NSAttributedString* CreateClassifiedAttributedString(
|
|
|
| } // namespace
|
|
|
| -@interface OmniboxPopupCellData () {
|
| - base::mac::ObjCPropertyReleaser propertyReleaser_OmniboxPopupCellData_;
|
| -}
|
| -@end
|
| -
|
| @interface OmniboxPopupCell ()
|
| - (CGFloat)drawMatchPart:(NSAttributedString*)attributedString
|
| withFrame:(NSRect)cellFrame
|
| @@ -418,12 +413,15 @@ NSAttributedString* CreateClassifiedAttributedString(
|
| }
|
| maxLines_ = 1;
|
| }
|
| - propertyReleaser_OmniboxPopupCellData_.Init(self,
|
| - [OmniboxPopupCellData class]);
|
| }
|
| return self;
|
| }
|
|
|
| +- (void)dealloc {
|
| + base::mac::ReleaseProperties(self);
|
| + [super dealloc];
|
| +}
|
| +
|
| - (instancetype)copyWithZone:(NSZone*)zone {
|
| return [self retain];
|
| }
|
|
|