| Index: ios/chrome/browser/ui/bookmarks/bookmark_home_tablet_ntp_controller.mm
|
| diff --git a/ios/chrome/browser/ui/bookmarks/bookmark_home_tablet_ntp_controller.mm b/ios/chrome/browser/ui/bookmarks/bookmark_home_tablet_ntp_controller.mm
|
| index bbb6f7ef66f4cfbb53202071f1f5c4f93a63ee3c..0e88980210c5312a61d7843e7dc06ab8119297b0 100644
|
| --- a/ios/chrome/browser/ui/bookmarks/bookmark_home_tablet_ntp_controller.mm
|
| +++ b/ios/chrome/browser/ui/bookmarks/bookmark_home_tablet_ntp_controller.mm
|
| @@ -9,7 +9,7 @@
|
| #include "base/ios/block_types.h"
|
| #import "base/ios/weak_nsobject.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"
|
| #include "base/metrics/user_metrics.h"
|
| #include "base/metrics/user_metrics_action.h"
|
| @@ -94,9 +94,6 @@ const CGFloat kNavigationBarTopMargin = 8.0;
|
| // DO NOT modify these two ivars directly.
|
| std::set<const BookmarkNode*> _editNodes;
|
| std::vector<const BookmarkNode*> _editNodesOrdered;
|
| -
|
| - base::mac::ObjCPropertyReleaser
|
| - _propertyReleaser_BookmarkHomeTabletNTPController;
|
| }
|
|
|
| @property(nonatomic, retain) BookmarkPanelView* panelView;
|
| @@ -307,9 +304,6 @@ const CGFloat kNavigationBarTopMargin = 8.0;
|
| DCHECK(browserState);
|
| _browserState = browserState->GetOriginalChromeBrowserState();
|
| _loader = loader;
|
| - _propertyReleaser_BookmarkHomeTabletNTPController.Init(
|
| - self, [BookmarkHomeTabletNTPController class]);
|
| -
|
| _bookmarks = ios::BookmarkModelFactory::GetForBrowserState(_browserState);
|
| _bridge.reset(new bookmarks::BookmarkModelBridge(self, _bookmarks));
|
| _editIndexPaths = [[NSMutableArray alloc] init];
|
| @@ -332,6 +326,7 @@ const CGFloat kNavigationBarTopMargin = 8.0;
|
| _editViewController.delegate = nil;
|
| _folderSelector.delegate = nil;
|
|
|
| + base::mac::ReleaseProperties(self);
|
| [super dealloc];
|
| }
|
|
|
|
|