| Index: ios/chrome/browser/ui/ntp/new_tab_page_bar.mm
|
| diff --git a/ios/chrome/browser/ui/ntp/new_tab_page_bar.mm b/ios/chrome/browser/ui/ntp/new_tab_page_bar.mm
|
| index 5cedf9cc21403a6981932f1e899c038cf5253221..760902a83eec023a970b8b6a8d630b6b56e181e6 100644
|
| --- a/ios/chrome/browser/ui/ntp/new_tab_page_bar.mm
|
| +++ b/ios/chrome/browser/ui/ntp/new_tab_page_bar.mm
|
| @@ -8,7 +8,7 @@
|
| #include <cmath>
|
|
|
| #include "base/logging.h"
|
| -#include "base/mac/objc_release_properties.h"
|
| +#include "base/mac/objc_property_releaser.h"
|
| #include "base/mac/scoped_nsobject.h"
|
| #import "ios/chrome/browser/ui/bookmarks/bookmark_utils_ios.h"
|
| #import "ios/chrome/browser/ui/ntp/new_tab_page_bar_button.h"
|
| @@ -66,6 +66,8 @@
|
| CGFloat buttonWidth_;
|
| // Percentage overlay sits over tab bar buttons.
|
| CGFloat overlayPercentage_;
|
| +
|
| + base::mac::ObjCPropertyReleaser propertyReleaser_NewTabPageBar_;
|
| }
|
|
|
| @synthesize items = items_;
|
| @@ -92,6 +94,7 @@
|
| }
|
|
|
| - (void)setup {
|
| + propertyReleaser_NewTabPageBar_.Init(self, [NewTabPageBar class]);
|
| self.selectedIndex = NSNotFound;
|
| canAnimate_ = NO;
|
| self.autoresizingMask =
|
| @@ -128,11 +131,6 @@
|
| [self addSubview:shadow_];
|
|
|
| self.contentMode = UIViewContentModeRedraw;
|
| -}
|
| -
|
| -- (void)dealloc {
|
| - base::mac::ReleaseProperties(self);
|
| - [super dealloc];
|
| }
|
|
|
| - (void)layoutSubviews {
|
|
|