| Index: ios/chrome/browser/ui/downloads/download_manager_controller.mm
|
| diff --git a/ios/chrome/browser/ui/downloads/download_manager_controller.mm b/ios/chrome/browser/ui/downloads/download_manager_controller.mm
|
| index 95b28bedc90bef3b41e07d39860fa8432284f188..9e8a6c3fe6681b659d68d191abd2643b804ddffd 100644
|
| --- a/ios/chrome/browser/ui/downloads/download_manager_controller.mm
|
| +++ b/ios/chrome/browser/ui/downloads/download_manager_controller.mm
|
| @@ -12,7 +12,7 @@
|
| #include "base/ios/weak_nsobject.h"
|
| #include "base/location.h"
|
| #include "base/mac/bind_objc_block.h"
|
| -#include "base/mac/objc_property_releaser.h"
|
| +#include "base/mac/objc_release_properties.h"
|
| #include "base/mac/scoped_nsobject.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/metrics/histogram.h"
|
| @@ -388,7 +388,6 @@ class DownloadContentDelegate : public URLFetcherDelegate {
|
| // Set to YES when a file is downloaded and is used to determine if the
|
| // DownloadedFileAction histogram needs to be recorded on -dealloc.
|
| BOOL _recordFileActionHistogram;
|
| - base::mac::ObjCPropertyReleaser _propertyReleaser_DownloadManagerController;
|
| }
|
|
|
| // The container that holds the |documentIcon|, the |progressBar|, the
|
| @@ -525,9 +524,6 @@ class DownloadContentDelegate : public URLFetcherDelegate {
|
| self = [super initWithNibName:@"DownloadManagerController" url:url];
|
| if (self) {
|
| _downloadManagerId = g_download_manager_id++;
|
| - _propertyReleaser_DownloadManagerController.Init(
|
| - self, [DownloadManagerController class]);
|
| -
|
| _requestContextGetter = requestContextGetter;
|
| _headFetcherDelegate.reset(new DownloadHeadDelegate(self));
|
| _contentFetcherDelegate.reset(new DownloadContentDelegate(self));
|
| @@ -629,6 +625,7 @@ class DownloadContentDelegate : public URLFetcherDelegate {
|
| UMA_HISTOGRAM_ENUMERATION(kUMADownloadedFileAction, NO_ACTION,
|
| DOWNLOADED_FILE_ACTION_COUNT);
|
| }
|
| + base::mac::ReleaseProperties(self);
|
| [super dealloc];
|
| }
|
|
|
|
|