| Index: ios/web/navigation/crw_session_entry.mm
|
| diff --git a/ios/web/navigation/crw_session_entry.mm b/ios/web/navigation/crw_session_entry.mm
|
| index ae293f6f488b14ee67d42200378675f048b1e117..32ab3e6661a74a3f4bd26488124c80ebdbc1380e 100644
|
| --- a/ios/web/navigation/crw_session_entry.mm
|
| +++ b/ios/web/navigation/crw_session_entry.mm
|
| @@ -8,7 +8,6 @@
|
|
|
| #include <memory>
|
|
|
| -#include "base/mac/objc_property_releaser.h"
|
| #include "base/mac/scoped_nsobject.h"
|
| #include "base/strings/sys_string_conversions.h"
|
| #include "ios/web/navigation/navigation_item_impl.h"
|
| @@ -50,8 +49,6 @@ NSString* const kSessionEntryUseDesktopUserAgentKey = @"useDesktopUserAgent";
|
| // The NavigationItemImpl corresponding to this CRWSessionEntry.
|
| // TODO(stuartmorgan): Move ownership to NavigationManagerImpl.
|
| std::unique_ptr<web::NavigationItemImpl> _navigationItem;
|
| -
|
| - base::mac::ObjCPropertyReleaser _propertyReleaser_CRWSessionEntry;
|
| }
|
| // Redefine originalUrl to be read-write.
|
| @property(nonatomic, readwrite) const GURL& originalUrl;
|
| @@ -75,7 +72,6 @@ NSString* const kSessionEntryUseDesktopUserAgentKey = @"useDesktopUserAgent";
|
| (std::unique_ptr<web::NavigationItem>)item {
|
| self = [super init];
|
| if (self) {
|
| - _propertyReleaser_CRWSessionEntry.Init(self, [CRWSessionEntry class]);
|
| _navigationItem.reset(
|
| static_cast<web::NavigationItemImpl*>(item.release()));
|
| self.originalUrl = _navigationItem->GetURL();
|
| @@ -86,7 +82,6 @@ NSString* const kSessionEntryUseDesktopUserAgentKey = @"useDesktopUserAgent";
|
| - (instancetype)initWithCoder:(NSCoder*)aDecoder {
|
| self = [super init];
|
| if (self) {
|
| - _propertyReleaser_CRWSessionEntry.Init(self, [CRWSessionEntry class]);
|
| _navigationItem.reset(new web::NavigationItemImpl());
|
|
|
| // Desktop chrome only persists virtualUrl_ and uses it to feed the url
|
| @@ -175,7 +170,6 @@ NSString* const kSessionEntryUseDesktopUserAgentKey = @"useDesktopUserAgent";
|
|
|
| - (instancetype)copyWithZone:(NSZone*)zone {
|
| CRWSessionEntry* copy = [[[self class] alloc] init];
|
| - copy->_propertyReleaser_CRWSessionEntry.Init(copy, [CRWSessionEntry class]);
|
| copy->_navigationItem.reset(
|
| new web::NavigationItemImpl(*_navigationItem.get()));
|
| copy->_originalUrl = _originalUrl;
|
|
|