| Index: ios/chrome/browser/ui/no_tabs/no_tabs_controller.mm
|
| diff --git a/ios/chrome/browser/ui/no_tabs/no_tabs_controller.mm b/ios/chrome/browser/ui/no_tabs/no_tabs_controller.mm
|
| index 286fdf44db291420c9b97b2017d5f9fcdd6629d4..06e2294931d34d611b7e290cdc5244d37ca2b1c6 100644
|
| --- a/ios/chrome/browser/ui/no_tabs/no_tabs_controller.mm
|
| +++ b/ios/chrome/browser/ui/no_tabs/no_tabs_controller.mm
|
| @@ -5,7 +5,7 @@
|
| #import "ios/chrome/browser/ui/no_tabs/no_tabs_controller.h"
|
|
|
| #include "base/logging.h"
|
| -#include "base/mac/objc_property_releaser.h"
|
| +#include "base/mac/objc_release_properties.h"
|
| #include "base/mac/scoped_nsobject.h"
|
| #import "ios/chrome/browser/ui/background_generator.h"
|
| #import "ios/chrome/browser/ui/no_tabs/no_tabs_controller_testing.h"
|
| @@ -44,16 +44,12 @@
|
| // The ending frame for the mode toggle button animation. Equal to CGRectZero
|
| // if the mode toggle button is not being animated.
|
| CGRect toggleImageEndFrame_;
|
| -
|
| - base::mac::ObjCPropertyReleaser propertyReleaser_NoTabsController_;
|
| }
|
|
|
| // Designated initializer.
|
| - (id)initWithView:(UIView*)view {
|
| self = [super init];
|
| if (self) {
|
| - propertyReleaser_NoTabsController_.Init(self, [NoTabsController class]);
|
| -
|
| parentView_ = view;
|
| [self installNoTabsToolbarInView:view];
|
| [self installNoTabsBackgroundInView:view];
|
| @@ -61,6 +57,11 @@
|
| return self;
|
| }
|
|
|
| +- (void)dealloc {
|
| + base::mac::ReleaseProperties(self);
|
| + [super dealloc];
|
| +}
|
| +
|
| // Passes the call through to the toolbar controller.
|
| - (void)setHasModeToggleSwitch:(BOOL)hasModeToggle {
|
| [toolbarController_ setHasModeToggleSwitch:hasModeToggle];
|
|
|