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

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

Issue 2326823002: [ios] Removed CHECK that URL passed to setDocumentURL: is invalid. (Closed)
Patch Set: Created 4 years, 3 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 e7fe4f3c9eb05ce6788928bf465f04c870a81dd1..dc3481e98672a674ff3fc7660a59a372f86d93be 100644
--- a/ios/web/web_state/ui/crw_web_controller.mm
+++ b/ios/web/web_state/ui/crw_web_controller.mm
@@ -1487,7 +1487,6 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5;
- (void)setDocumentURL:(const GURL&)newURL {
if (newURL != _documentURL) {
- CHECK(newURL.is_valid());
_documentURL = newURL;
_interactionRegisteredSinceLastURLChange = NO;
}
« 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