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

Unified Diff: ios/web/web_state/ui/crw_web_controller.mm

Issue 2772903002: Removed invalid DCHECK from |loadWithParams:|. (Closed)
Patch Set: Created 3 years, 9 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/web_state/ui/crw_web_controller.mm
diff --git a/ios/web/web_state/ui/crw_web_controller.mm b/ios/web/web_state/ui/crw_web_controller.mm
index bcc7afbd77b985b35613968e319d9c9ead935241..27c7c9ccc18c38b6f418de10ee59ecfc9c7fc284 100644
--- a/ios/web/web_state/ui/crw_web_controller.mm
+++ b/ios/web/web_state/ui/crw_web_controller.mm
@@ -1801,10 +1801,6 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5;
GURL navUrl = params.url;
ui::PageTransition transition = params.transition_type;
DCHECK(!(transition & ui::PAGE_TRANSITION_FORWARD_BACK));
- // This method is allowed to handle reload only for transient items, which
- // is essentially loading the same URL again.
- DCHECK(!(transition & ui::PAGE_TRANSITION_RELOAD) ||
- self.navigationManagerImpl->GetTransientItem());
BOOL initialNavigation = NO;
// Clear transient view before making any changes to history and navigation
« 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