| Index: ios/web/public/crw_session_storage.mm
|
| diff --git a/ios/web/public/crw_session_storage.mm b/ios/web/public/crw_session_storage.mm
|
| index a2c3d25602405e28da6bf5474dae3e0472004a99..bd92956c640dbe0b53f216fb8d8546361f1ab215 100644
|
| --- a/ios/web/public/crw_session_storage.mm
|
| +++ b/ios/web/public/crw_session_storage.mm
|
| @@ -16,7 +16,7 @@
|
| NSString* const kCertificatePolicyManagerKey = @"certificatePolicyManager";
|
| NSString* const kCurrentNavigationIndexKey = @"currentNavigationIndex";
|
| NSString* const kItemStoragesKey = @"entries";
|
| -NSString* const kOpenedByDOMKey = @"openedByDOM";
|
| +NSString* const kHasOpenerKey = @"openedByDOM";
|
| NSString* const kPreviousNavigationIndexKey = @"previousNavigationIndex";
|
| }
|
|
|
| @@ -29,7 +29,7 @@ @interface CRWSessionStorage () {
|
|
|
| @implementation CRWSessionStorage
|
|
|
| -@synthesize openedByDOM = _openedByDOM;
|
| +@synthesize hasOpener = _hasOpener;
|
| @synthesize currentNavigationIndex = _currentNavigationIndex;
|
| @synthesize previousNavigationIndex = _previousNavigationIndex;
|
| @synthesize itemStorages = _itemStorages;
|
| @@ -51,7 +51,7 @@ - (void)setSerializableUserData:
|
| - (instancetype)initWithCoder:(nonnull NSCoder*)decoder {
|
| self = [super init];
|
| if (self) {
|
| - _openedByDOM = [decoder decodeBoolForKey:kOpenedByDOMKey];
|
| + _hasOpener = [decoder decodeBoolForKey:kHasOpenerKey];
|
| _currentNavigationIndex =
|
| [decoder decodeIntForKey:kCurrentNavigationIndexKey];
|
| _previousNavigationIndex =
|
| @@ -74,7 +74,7 @@ - (instancetype)initWithCoder:(nonnull NSCoder*)decoder {
|
| }
|
|
|
| - (void)encodeWithCoder:(NSCoder*)coder {
|
| - [coder encodeBool:self.openedByDOM forKey:kOpenedByDOMKey];
|
| + [coder encodeBool:self.hasOpener forKey:kHasOpenerKey];
|
| [coder encodeInt:self.currentNavigationIndex
|
| forKey:kCurrentNavigationIndexKey];
|
| [coder encodeInt:self.previousNavigationIndex
|
|
|