Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(730)

Unified Diff: ios/web/navigation/crw_session_controller.mm

Issue 2808353007: Remove invalid DCHECK in [CRWSessionController addPendingItem]. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2dfb1c57132886b112ca575a47edc664f6168acb..cf5175e1673d9b538cc846748aede176d338b9c8 100644
--- a/ios/web/navigation/crw_session_controller.mm
+++ b/ios/web/navigation/crw_session_controller.mm
@@ -287,10 +287,6 @@ - (void)addPendingItem:(const GURL&)url
initiationType:(web::NavigationInitiationType)initiationType
userAgentOverrideOption:(web::NavigationManager::UserAgentOverrideOption)
userAgentOverrideOption {
- // Server side redirects are handled by updating existing pending item instead
- // of adding a new item.
- DCHECK((trans & ui::PAGE_TRANSITION_SERVER_REDIRECT) == 0);
-
[self discardTransientItem];
self.pendingItemIndex = -1;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698