| Index: ios/chrome/browser/ui/omnibox/page_info_view_controller.mm
|
| diff --git a/ios/chrome/browser/ui/omnibox/page_info_view_controller.mm b/ios/chrome/browser/ui/omnibox/page_info_view_controller.mm
|
| index e977b05e787d5a11c536b7c0ffb6325747d7e77e..3e11d28aa1a5fc8799ad4b70523a5950ff5d10c0 100644
|
| --- a/ios/chrome/browser/ui/omnibox/page_info_view_controller.mm
|
| +++ b/ios/chrome/browser/ui/omnibox/page_info_view_controller.mm
|
| @@ -8,7 +8,7 @@
|
| #include "base/location.h"
|
| #include "base/mac/bundle_locations.h"
|
| #import "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/message_loop/message_loop.h"
|
| #include "base/single_thread_task_runner.h"
|
| @@ -151,8 +151,6 @@ void PageInfoModelBubbleBridge::OnPageInfoModelChanged() {
|
|
|
| // YES when the popup has finished animating in. NO otherwise.
|
| BOOL animateInCompleted_;
|
| -
|
| - base::mac::ObjCPropertyReleaser propertyReleaser_PageInfoViewController_;
|
| }
|
|
|
| // Adds the state image at a pre-determined x position and the given y. This
|
| @@ -199,9 +197,6 @@ void PageInfoModelBubbleBridge::OnPageInfoModelChanged() {
|
| DCHECK(parent);
|
| self = [super init];
|
| if (self) {
|
| - propertyReleaser_PageInfoViewController_.Init(
|
| - self, [PageInfoViewController class]);
|
| -
|
| scrollView_.reset(
|
| [[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, 240, 128)]);
|
| [scrollView_ setMultipleTouchEnabled:YES];
|
| @@ -272,6 +267,11 @@ void PageInfoModelBubbleBridge::OnPageInfoModelChanged() {
|
| return self;
|
| }
|
|
|
| +- (void)dealloc {
|
| + base::mac::ReleaseProperties(self);
|
| + [super dealloc];
|
| +}
|
| +
|
| - (void)performLayout {
|
| CGFloat offset = kInitialLinePadding;
|
|
|
|
|