| Index: ios/chrome/app/main_controller.mm
|
| diff --git a/ios/chrome/app/main_controller.mm b/ios/chrome/app/main_controller.mm
|
| index 352e9885cc1289bda3d24a22e92db6670e1366a2..0956d7af8cf3fe1f0711437abac111fcd8888caf 100644
|
| --- a/ios/chrome/app/main_controller.mm
|
| +++ b/ios/chrome/app/main_controller.mm
|
| @@ -18,7 +18,7 @@
|
| #import "base/mac/bind_objc_block.h"
|
| #include "base/mac/bundle_locations.h"
|
| #include "base/mac/foundation_util.h"
|
| -#include "base/mac/objc_property_releaser.h"
|
| +#include "base/mac/objc_release_properties.h"
|
| #import "base/mac/scoped_nsobject.h"
|
| #include "base/macros.h"
|
| #include "base/path_service.h"
|
| @@ -351,8 +351,6 @@ enum class StackViewDismissalMode { NONE, NORMAL, INCOGNITO };
|
| // appropriate pref changes.
|
| base::scoped_nsobject<MemoryDebuggerManager> _memoryDebuggerManager;
|
|
|
| - base::mac::ObjCPropertyReleaser _propertyReleaser_MainController;
|
| -
|
| // Responsible for indexing chrome links (such as bookmarks, most likely...)
|
| // in system Spotlight index.
|
| base::scoped_nsobject<SpotlightManager> _spotlightManager;
|
| @@ -563,7 +561,6 @@ enum class StackViewDismissalMode { NONE, NORMAL, INCOGNITO };
|
|
|
| - (instancetype)init {
|
| if ((self = [super init])) {
|
| - _propertyReleaser_MainController.Init(self, [MainController class]);
|
| _startupTasks.reset([[StartupTasks alloc] init]);
|
| }
|
| return self;
|
| @@ -574,6 +571,7 @@ enum class StackViewDismissalMode { NONE, NORMAL, INCOGNITO };
|
| net::HTTPProtocolHandlerDelegate::SetInstance(nullptr);
|
| net::RequestTracker::SetRequestTrackerFactory(nullptr);
|
| [NSObject cancelPreviousPerformRequestsWithTarget:self];
|
| + base::mac::ReleaseProperties(self);
|
| [super dealloc];
|
| }
|
|
|
|
|