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 2fcda1a4ed010e0e7a8dc1bf51b4afedd66217bf..0821e76e464f34daa043b57d3262afe2d4e26951 100644 |
--- a/ios/web/navigation/crw_session_controller.mm |
+++ b/ios/web/navigation/crw_session_controller.mm |
@@ -548,6 +548,9 @@ - (void)removeItemAtIndex:(NSInteger)index { |
_lastCommittedItemIndex--; |
if (_previousItemIndex >= index) |
_previousItemIndex--; |
+ |
+ if (_navigationManager) |
+ _navigationManager->OnNavigationItemsPruned(1U); |
} |
- (BOOL)isSameDocumentNavigationBetweenItem:(web::NavigationItem*)firstItem |