| Index: ios/chrome/browser/ui/history/clear_browsing_bar.mm
|
| diff --git a/ios/chrome/browser/ui/history/clear_browsing_bar.mm b/ios/chrome/browser/ui/history/clear_browsing_bar.mm
|
| index 88d72268012973db77783d63a0553568a64c82a0..a1bb0373c103bbadb408ed1146329e6bfdb9812d 100644
|
| --- a/ios/chrome/browser/ui/history/clear_browsing_bar.mm
|
| +++ b/ios/chrome/browser/ui/history/clear_browsing_bar.mm
|
| @@ -5,7 +5,7 @@
|
| #import "ios/chrome/browser/ui/history/clear_browsing_bar.h"
|
|
|
| #include "base/logging.h"
|
| -#include "base/mac/objc_property_releaser.h"
|
| +#include "base/mac/objc_release_properties.h"
|
| #include "components/strings/grit/components_strings.h"
|
| #include "ios/chrome/browser/ui/rtl_geometry.h"
|
| #import "ios/chrome/browser/ui/uikit_ui_util.h"
|
| @@ -22,9 +22,7 @@ CGFloat kHorizontalMargin = 8.0f;
|
| typedef NS_ENUM(BOOL, ButtonPlacement) { Leading, Trailing };
|
| } // namespace
|
|
|
| -@interface ClearBrowsingBar () {
|
| - base::mac::ObjCPropertyReleaser propertyReleaser_ClearBrowsingBar_;
|
| -}
|
| +@interface ClearBrowsingBar ()
|
|
|
| // Button that displays "Clear Browsing Data...".
|
| @property(nonatomic, strong) UIButton* clearBrowsingDataButton;
|
| @@ -106,11 +104,15 @@ typedef NS_ENUM(BOOL, ButtonPlacement) { Leading, Trailing };
|
| [self setBackgroundColor:[UIColor whiteColor]];
|
| [[self layer] setShadowOpacity:kShadowOpacity];
|
| [self setEditing:NO];
|
| - propertyReleaser_ClearBrowsingBar_.Init(self, [ClearBrowsingBar class]);
|
| }
|
| return self;
|
| }
|
|
|
| +- (void)dealloc {
|
| + base::mac::ReleaseProperties(self);
|
| + [super dealloc];
|
| +}
|
| +
|
| #pragma mark Public Methods
|
|
|
| - (void)setEditing:(BOOL)editing {
|
|
|