| Index: ios/web/public/origin_util_unittest.mm
|
| diff --git a/ios/web/public/origin_util_unittest.mm b/ios/web/public/origin_util_unittest.mm
|
| index 79cae2b04e782e378ef6ad8e9d61793c75f23b3a..723ebf714e7167898b751a35c78d9460b0c3b096 100644
|
| --- a/ios/web/public/origin_util_unittest.mm
|
| +++ b/ios/web/public/origin_util_unittest.mm
|
| @@ -6,7 +6,7 @@
|
|
|
| #import <WebKit/WebKit.h>
|
|
|
| -#import "base/mac/objc_property_releaser.h"
|
| +#include "base/mac/objc_release_properties.h"
|
| #import "base/mac/scoped_nsobject.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "url/gurl.h"
|
| @@ -19,17 +19,13 @@
|
| @property(nonatomic) NSInteger port;
|
| @end
|
|
|
| -@implementation WKSecurityOriginStub {
|
| - base::mac::ObjCPropertyReleaser _propertyReleaser;
|
| -}
|
| +@implementation WKSecurityOriginStub
|
| @synthesize protocol = _protocol;
|
| @synthesize host = _host;
|
| @synthesize port = _port;
|
| -- (instancetype)init {
|
| - if (self = [super init]) {
|
| - _propertyReleaser.Init(self, [WKSecurityOriginStub class]);
|
| - }
|
| - return self;
|
| +- (void)dealloc {
|
| + base::mac::ReleaseProperties(self);
|
| + [super dealloc];
|
| }
|
| @end
|
|
|
|
|