| Index: ios/web/navigation/crw_session_controller.mm
|
| diff --git a/ios/web/navigation/crw_session_controller.mm b/ios/web/navigation/crw_session_controller.mm
|
| index e367d21bd3b02c21961cb1b7a9d54a66f6899003..5e1aa56d6b6e79df31aa8099b57ebdaf587086c6 100644
|
| --- a/ios/web/navigation/crw_session_controller.mm
|
| +++ b/ios/web/navigation/crw_session_controller.mm
|
| @@ -206,19 +206,6 @@ initiationType:(web::NavigationInitiationType)initiationType;
|
| return index == -1 || self.items.empty() ? nullptr : self.items[index].get();
|
| }
|
|
|
| -- (web::NavigationItemImpl*)lastUserItem {
|
| - if (self.items.empty())
|
| - return nil;
|
| -
|
| - NSInteger index = self.currentNavigationIndex;
|
| - // This will return the first NavigationItem if all other items are
|
| - // redirects, regardless of the transition state of the first item.
|
| - while (index > 0 && [self isRedirectTransitionForItemAtIndex:index])
|
| - --index;
|
| -
|
| - return self.items[index].get();
|
| -}
|
| -
|
| - (web::NavigationItemList)backwardItems {
|
| web::NavigationItemList items;
|
| for (size_t index = _currentNavigationIndex; index > 0; --index) {
|
|
|