| Index: components/autofill/ios/browser/form_suggestion.mm
|
| diff --git a/components/autofill/ios/browser/form_suggestion.mm b/components/autofill/ios/browser/form_suggestion.mm
|
| index f4bb40c37c3065eb921aceac76ee818042015683..5fef98fec2b7cfcd37213675a6f5de23edc77835 100644
|
| --- a/components/autofill/ios/browser/form_suggestion.mm
|
| +++ b/components/autofill/ios/browser/form_suggestion.mm
|
| @@ -4,7 +4,7 @@
|
|
|
| #import "components/autofill/ios/browser/form_suggestion.h"
|
|
|
| -#include "base/mac/objc_property_releaser.h"
|
| +#include "base/mac/objc_release_properties.h"
|
|
|
| @interface FormSuggestion ()
|
| // Local initializer for a FormSuggestion.
|
| @@ -19,7 +19,6 @@
|
| NSString* _displayDescription;
|
| NSString* _icon;
|
| NSInteger _identifier;
|
| - base::mac::ObjCPropertyReleaser _propertyReleaser_FormSuggestion;
|
| }
|
|
|
| @synthesize value = _value;
|
| @@ -33,7 +32,6 @@
|
| identifier:(NSInteger)identifier {
|
| self = [super init];
|
| if (self) {
|
| - _propertyReleaser_FormSuggestion.Init(self, [FormSuggestion class]);
|
| _value = [value copy];
|
| _displayDescription = [displayDescription copy];
|
| _icon = [icon copy];
|
| @@ -42,6 +40,11 @@
|
| return self;
|
| }
|
|
|
| +- (void)dealloc {
|
| + base::mac::ReleaseProperties(self);
|
| + [super dealloc];
|
| +}
|
| +
|
| + (FormSuggestion*)suggestionWithValue:(NSString*)value
|
| displayDescription:(NSString*)displayDescription
|
| icon:(NSString*)icon
|
|
|