| Index: ios/chrome/browser/tabs/tab.mm
|
| diff --git a/ios/chrome/browser/tabs/tab.mm b/ios/chrome/browser/tabs/tab.mm
|
| index 7dd1d6e65ed22f3cb52906c3083549605fd230e9..8035088073c120cd40a449939413c9615c641b19 100644
|
| --- a/ios/chrome/browser/tabs/tab.mm
|
| +++ b/ios/chrome/browser/tabs/tab.mm
|
| @@ -17,7 +17,7 @@
|
| #include "base/logging.h"
|
| #include "base/mac/bind_objc_block.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/metrics/histogram_macros.h"
|
| #include "base/metrics/user_metrics.h"
|
| @@ -231,8 +231,6 @@ enum class RendererTerminationTabState {
|
| // YES if the Tab needs to be reloaded after the app becomes active.
|
| BOOL requireReloadAfterBecomingActive_;
|
|
|
| - base::mac::ObjCPropertyReleaser propertyReleaser_Tab_;
|
| -
|
| id<TabDelegate> delegate_; // weak
|
| base::WeakNSProtocol<id<TabDialogDelegate>> dialogDelegate_;
|
| base::WeakNSProtocol<id<SnapshotOverlayProvider>> snapshotOverlayProvider_;
|
| @@ -520,7 +518,6 @@ void TabInfoBarObserver::OnInfoBarReplaced(infobars::InfoBar* old_infobar,
|
| DCHECK(webState);
|
| self = [super init];
|
| if (self) {
|
| - propertyReleaser_Tab_.Init(self, [Tab class]);
|
| tabHistoryContext_.reset(new TabHistoryContext());
|
| parentTabModel_ = parentModel;
|
| browserState_ =
|
| @@ -699,6 +696,7 @@ void TabInfoBarObserver::OnInfoBarReplaced(infobars::InfoBar* old_infobar,
|
| // Note that -[CRWWebController close] has already been called, so nothing
|
| // significant should be done with it in this method.
|
| DCHECK_NE(self.webController.delegate, self);
|
| + base::mac::ReleaseProperties(self);
|
| [super dealloc];
|
| }
|
|
|
|
|