| 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 e40679796a3167b3efd1c4f07c486526ff8b26c3..11b5a576b9d5aa2c5e34bc51df7a5af5895371c0 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_release_properties.h"
|
| +#include "base/mac/objc_property_releaser.h"
|
| #include "base/mac/scoped_nsobject.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/string_util.h"
|
| @@ -343,6 +343,11 @@
|
|
|
| } // namespace
|
|
|
| +@interface OmniboxPopupCellData () {
|
| + base::mac::ObjCPropertyReleaser propertyReleaser_OmniboxPopupCellData_;
|
| +}
|
| +@end
|
| +
|
| @interface OmniboxPopupCell ()
|
| - (CGFloat)drawMatchPart:(NSAttributedString*)attributedString
|
| withFrame:(NSRect)cellFrame
|
| @@ -413,13 +418,10 @@
|
| }
|
| maxLines_ = 1;
|
| }
|
| + propertyReleaser_OmniboxPopupCellData_.Init(self,
|
| + [OmniboxPopupCellData class]);
|
| }
|
| return self;
|
| -}
|
| -
|
| -- (void)dealloc {
|
| - base::mac::ReleaseProperties(self);
|
| - [super dealloc];
|
| }
|
|
|
| - (instancetype)copyWithZone:(NSZone*)zone {
|
|
|